Export (0) Print
Expand All
Avg
IIf
Lag
Max
Min
Mtd
Qtd
Sum
Var
Wtd
Ytd
Expand Minimize
0 out of 3 rated this helpful - Rate this topic

DistinctCount (MDX)

Updated: 17 July 2006

Returns the number of distinct, nonempty tuples in a set.


DistinctCount(Set_Expression)
Set_Expression

A valid Multidimensional Expressions (MDX) expression that returns a set.

The DistinctCount function is equivalent to Count(Distinct(Set_Expression), EXCLUDEEMPTY). This function can be applied only on calculated measures, and it can involve only the topmost level.

Release History

17 July 2006

Changed content:
  • Updated syntax and arguments to improve clarity.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.