Foundations of SQL Server 2008 R2 Business Intelligence, Second Edition
by Lynn Langit, Guy Fouché
Common MDX Functions
To give you a flavor for working with MDX, here is a brief list of commonly used MDX functions types, along with any arguments for each function:
Current:This function returns the current tuple from a set. You should note that this function only works with named sets. You can think of this function as a kind of aCurrentMemberfunction, but one that is specific to named sets.
DistinctCount: This function returns a count of unique, nonempty tuples in a set.
IIF: This function works similarly toIIFs (Immediate If) in other applications (Excel, for example). It takes three arguments: an expression, a value to be returned if the expression evaluates totrue, and an alternate value to be returned if the expression evaluates ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access