MDX- 2


Select NON EMPTY ([DimProgram].[ProgramName].Children, [Measures].[FctCaseDetailsCount]) ON COLUMNS,

NON EMPTY ([TListDate].[Year].Children,[TListDate].[Quarter].Children) ON ROWS

From

[Cradle]

The above query is a demo for multiple parts in both rows and columns

Select NON EMPTY ([DimProgram].[ProgramName].Children, [Measures].[FctCaseDetailsCount]) ON COLUMNS,

NON EMPTY ([TListDate].[Year].Children,[TListDate].[Quarter].Children) ON ROWS

From

[Cradle]

Where [CaseHistoryDate].[Year].&[1998]

The above statement uses a filter based on a particular value in an attribute. We cannot use the same atribute in filter clause and in rows.

Advertisements

Comment please...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s