Skip to Content

Show null (zero) values in query

Hi Gurus,

Can I show in a query null values in cases that the InfoCube or dso doesn´t have records with values?

Example:

Sales Cube (with data records)

1 = 100,00

2 = 150,00

3 = 200,00

The InfoObject COUNTRY have 4 records (master data):

1 = Brazil

2 = India

3 = USA

4 = Jamaica

The InfoObject have 1 hierarchy:

COUNTRY

001 BRA

002 IND

003 USA

004 JAM

The query results is:

COUNTRY

BRA 100,00

IND 150,00

USA 200,00

JAM

I need to show in this case 0,00 to record JAM, but the query shows BLANK.

Can I do this?

Best Regards

Alex

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2009 at 08:03 PM

    Hi Alex,

    yes you can do this. Create a formula and add your sales + 0.00. In this case your result will always have 0.00 even if there is no data in your cube.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 02, 2009 at 11:19 AM

    Try to create your calculated Key figure with data function NDIV0(x) or NOERR(x).

    Add a comment
    10|10000 characters needed characters exceeded

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.