cancel
Showing results for 
Search instead for 
Did you mean: 

Number of document in query

Private_Member_24235
Participant
0 Kudos

Dear all,

we have a query which are reffering to an Multicube with an infocube underneath. The infocube is filled with sales document data. Therefore we have created an infoobject (key figure) which is filled with "1" for each position in order to count the sales documents.

Then in the query we want to count the sales documents. As long as the characteristic "sales document" is in the drilldown the count works fine.

But when we remove the sales document from the drilldown the count just displays the number of rows instead the number of the documents. We need the number of documents in order to make average calculations.

We are on BI 7.0. Any help would be great.

Best regards,

Stefan from Munich/germany

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I think this is happening because the KF is created for Sales documents.

Try this > create a formula F1 for below.

If sales docs NE 0, then 1.

In Bex, it will be like (Sales docs <> 0)*1.

Now, write a condition to display when F1= 1. In the characteristics drill down, select the first radio button ( independent of any drill down).

I hope this will work.

Thanks...

Shambhu