IS (MDX)
SQL Server 2008 R2
Performs a logical comparison on two object expressions.
The following example shows how to use the IS operator to check if the current member on an axis is a specific member:
With
//Returns TRUE if the currentmember is Bikes
Member [Measures].[IsBikes?] AS
[Product].[Category].CurrentMember IS [Product].[Category].&[1]
SELECT
{[Measures].[IsBikes?]} ON 0,
[Product].[Category].[Category].Members ON 1
FROM
[Adventure Works]
