O'Reilly logo

Microsoft® SQL Server® 2008 MDX Step by Step by C Ryan Clay Bryan C Smith and Hitachi Consulting

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3 Quick Reference

To

Do this

Reference a member by name

Write the member reference in the form [Dimension].[Hierarchy].[Member Name]. For example:

[Product].[Category].[Bikes]

Reference a member by key

Write the member reference in the form [Dimension].[Hierarchy].&[Member Key]. For example:

[Product].[Category].&[1]

Reference a member by name within a level of a user-hierarchy

Write the member reference in the form [Dimension].[Hierarchy].[Level].[Member Name]. For example:

[Date].[Calendar-To-Fiscal Year].[Calendar Year].[CY 2003]

In some instances this member reference is ambiguous. To avoid ambiguity, you may use a member reference that includes lineage information, such as this:

[Date].[Calendar-To-Fiscal Year].[Calendar Year].[CY 2003]. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required