MDX help - counting tuples with a given member

  • Is there a way, MDX, to count the number of tuples in a set that have a given member.

    For example

    { (a1, b1) , (a1, b2) , (a1, b3) , (a2, b1) }

    such that given member a1 would yield a count of 3 (the first three tuples in the set)

  • try something like this

    SELECT NON EMPTY {[Measures].[b1/b2/b3]} ON 0,

    NON EMPTY {[a1].ALLMEMBERS)} ON 1

    FROM CUBE_NAME

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

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