Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

and with or

$
0
0

hi,

can you please help me in mdx query with AND ,OR condition.

Req--(2008 or 2009) and 2010

i need (2008 or 2009) then and 2010.

below is my mdx query please help me.

mdx query

   SELECT

{ [Measures].[Internet Sales Amount] }ONcolumns,

filter([Product].[Product].[Product], (

[Date].[Calendar Year].[Calendar Year].& [2008]

,[Measures].[Internet Sales Amount]

) > 0

AND (

[Date].[Calendar Year].& [2010]

,[Measures].[Internet Sales Amount]

) > 0)

 

ONrowsFROM [Adventure Works]

 

please help me urgent.


indu


Viewing all articles
Browse latest Browse all 14337

Trending Articles