![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I want to see the YTD sales regardless of what time period I have selected in my Time Dimension. i.e. If the to-date total Sales are $100, then even if I have selected March-2004 in my Time Dimension, I still want to see this $ 100 as YTD (of course in addition to other columns...) Using the built-in "Business Center" functionality of MSDA, there is something labelled as "Year To Date-BC-(e)" and this gives me the desired results. BUT I do not like the label and want to change it... for this I need to know what should be the underlying MDX? I tried all of the following but these do not give me the YTD sales and instead give me the YTD sales at/till the selected time period: 1) LengthMeasure 2) iif(Current dimension.name=Open Time dimension.name,null,(Length measure,Open Time dimension.currentmember)) I'll appreciate your urgent reply. -- Thanks. |
#3
| |||
| |||
|
|
|put this in a calculated member: | |iif([Tid].currentmember.level is [År],[Measures].[Budget |Beløb],ancestor([Tid].currentmember, [Tid].[År])) | |sorry bout the danish....replace År with the name of the year-level inyour |time dimension....replace the measure with your desired measure... | |Hope it helps | |\Michael Vardinghus | |"Learner" <wantnospam (AT) email (DOT) com> skrev i en meddelelse |news:MPG.1b030933407b5dbc989717 (AT) msnews (DOT) microsoft.com... |> Hi, | |> I want to see the YTD sales regardless of what time period I have |> selected in my Time Dimension. i.e. If the to-date total Sales are |> $100, then even if I have selected March-2004 in my Time Dimension, I |> still want to see this $ 100 as YTD (of course in addition to other |> columns...) | |> Using the built-in "Business Center" functionality of MSDA, there is |> something labelled as "Year To Date-BC-(e)" and this gives me the |> desired results. BUT I do not like the label and want to change it... |> for this I need to know what should be the underlying MDX? I tried all |> of the following but these do not give me the YTD sales and instead give |> me the YTD sales at/till the selected time period: | |> 1) LengthMeasure |> 2) iif(Current dimension.name=Open Time dimension.name,null,(Length |> measure,Open Time dimension.currentmember)) | | |> I'll appreciate your urgent reply. | | |> -- |> Thanks. | | | |
#4
| |||
| |||
|
|
|put this in a calculated member: | |iif([Tid].currentmember.level is [År],[Measures].[Budget |Beløb],ancestor([Tid].currentmember, [Tid].[År])) | |sorry bout the danish....replace År with the name of the year-level in your |time dimension....replace the measure with your desired measure... | |Hope it helps | |\Michael Vardinghus | |"Learner" <wantnospam (AT) email (DOT) com> skrev i en meddelelse |news:MPG.1b030933407b5dbc989717 (AT) msnews (DOT) microsoft.com... |> Hi, | |> I want to see the YTD sales regardless of what time period I have |> selected in my Time Dimension. i.e. If the to-date total Sales are |> $100, then even if I have selected March-2004 in my Time Dimension, I |> still want to see this $ 100 as YTD (of course in addition to other |> columns...) | |> Using the built-in "Business Center" functionality of MSDA, there is |> something labelled as "Year To Date-BC-(e)" and this gives me the |> desired results. BUT I do not like the label and want to change it... |> for this I need to know what should be the underlying MDX? I tried all |> of the following but these do not give me the YTD sales and instead give |> me the YTD sales at/till the selected time period: | |> 1) LengthMeasure |> 2) iif(Current dimension.name=Open Time dimension.name,null,(Length |> measure,Open Time dimension.currentmember)) | | |> I'll appreciate your urgent reply. | | |> -- |> Thanks. | | | |
![]() |
| Thread Tools | |
| Display Modes | |
| |