cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Topcount in an OLAP universe

Former Member
0 Kudos

Hi,

I want to create an object who gives me the best 10 Values back.

I try to use topcount with the following code:

<EXPRESSION>
TOPCOUNT([Measures].[OINV INVOICE NET VALUE], 10,)
</EXPRESSION>

But i get no data back.

The help in the universe designer says the following:

TOPCOUNT("Set", "Count"[, "Numeric Expression"] ) 
returns a specified number of items from the topmost members of a set

Which function has the "Numeric Expression", and what are possible expressions?

Thanks for helping.

Kind Regards

Jens

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186586
Active Participant
0 Kudos

i really wondering about that too...

IngoH
Active Contributor
0 Kudos

Hi Jens,

take a look at this document, which has several examples:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c82062...

Ingo

Former Member
0 Kudos

Hi Ingo,

i already use this document, but there is no example with topcount, and the examples with ranks does not work. I did not get any data back.

It is correct, if I Use topcount ins the select part? Or mus i use it in the where part and must also write an espression in the select part of the universe object?

Kind Regards

Jens

Former Member
0 Kudos

HI Jens,

Are you figure out it? I want to create a object for sum qty too.

Thank you.

Regards,

Howard.

Former Member
0 Kudos

Hi Howard,

not with topcount, but have look at my thread "Top N data in MDX uniserse?"

Kind Regards

Jens