![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
hi everyone, one of my dimensions is date dimension that contains 3 level: year month day i want to run mdx query that gives me all the measures on the cols axe and the year (only the year) level and one more dimension on the row axe. i also want the data to be from year 2005 and 2006 so i craeted member that contains thes two years: Set [DateSet] as '{[Date].[All Date].[2005].[1].[1].[1]:[Date].[All Date].[2005].[4].[12].[1]}' MEMBER [Date].DateRange as 'Sum([DateSet])' this is my query: with Set [DateSet] as '{[Date].[All Date].[2005].[1].[1].[1]:[Date].[All Date].[2005].[4].[12].[1]}' MEMBER [Date].DateRange as 'Sum([DateSet])' SELECT Non Empty [Measures].allmembers ON COLUMNS, nonemptycrossjoin ( [Program].[OperatorName].members, [DateSet]) on rows from adv_small where ([Date].DateRange) here i get the duplicate dimensions across axes becuase of the date. so how do i do that? thanks |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |