Skip to Content

Problem with empty strings in WebI report


I have a WebI report that is filtering on several fields. One of the filters uses a 'Less than or Equal to 2' condition.

A lot of the records have an empty string (not a null) for this field. The report is ignoring them, but it needs to include them.

Is there a way I can modify the WebI filter to include the empty strings? Or is there a way that the BeX Query can be modified to convert these values to zero?

Thanks for your help!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2013 at 02:16 PM

    If you are not particular about query filter you could filter it at the report side using report filters ,It should work at the report level.


    Add a comment
    10|10000 characters needed characters exceeded

    • I did not see a way to reverse the 'Less than or Equal to' filter in the list of choices, again because of the empty strings, but that did get me thinking about other ways to check it. I had tried the 'Not in' filter before, but I used commas to separate the values instead of semi-colons (still getting use to the SAP way of doing things). I was able to get the data I wanted by using 'Not in 0;1;2;Not assigned', since the report is displaying 'Not assigned' for the empty strings.

      This works fine for a small set of expected values; it wouldn't be so great if I had wanted anything less than 1,000 and the empty string as well. For that, I like your solution of using a variable and doing a replacement on the values with empty strings. I haven't tried it out, but I would think that would work.

      Thanks for your help!

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.