Problems with Topcount()

  • Hello,

    I would like to get my Top 10 Accounts, and therefore I'm using the function "TopCount"

    This is my formula:

    TOPCOUNT([Dim Account Base].[Account Name].Members, 10, [Measures].[Estimated Revenue])

    The output of this is (NULL), could anybody explain to me what I'm doing wrong.

    Thanks!

  • The TopCount function looks at a 'set' and then takes your selected 'count' and applies it to this set for your selected 'measure'.

    However a 'set' has to be enclosed in curly brackets (MDX syntax requirements)

    Therefore if you change the code to the following hopefully it should now work.

    TOPCOUNT( {[Dim Account Base].[Account Name].Members} , 10, [Measures].[Estimated Revenue])

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply