![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Please let me know how to find the Current Year in MDX. When I type Year(Date()) I get some huge incorrect number Thanks |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
It is like this: Year is 2003 and 2004 with Quarter and Months; What i need to find out is the value of current year from my dimension and this should be 2004; But I don't know what MDX to use; |
#5
| |||
| |||
|
|
It is like this Year is 2003 and 2004 with Quarter and Months; What i need to find out i the value of current year from my dimension and this should be 2004 But I don't know what MDX to use |
#6
| |||
| |||
|
|
Hi Tom Both of these don't work ; My Year dimension is called Accounting Period and it is defined as below: 2003 YTD Quarters Months 2004 QTD Quarters Months Now I have a column called Loss Paid in one of the Dimension whose value will change if the Accounting Period Changes; If the User select 2004 it |
|
But I am not able to figure out how to write MDX and figure out the Year chosen by the User. Bothe of the formulas given by you gives me #ERR ----- Tom Chester wrote: ----- Still don't know what defines "the current year". This will give you the last year in the dimension assuming you have an ALL member: Time.[All Time].LastChild This will work regardless if there is an ALL: Tail(Year.Members,1).Item(0).Item(0) public @ the domain below www.tomchester.net "PNG" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:3A0A0C97-8B38-4A8E-944B-34D9D4E9D436 (AT) microsoft (DOT) com... It is like this: Year is 2003 and 2004 with Quarter and Months; What i need to find out is the value of current year from my dimension and this should be 2004; But I don't know what MDX to use; |
![]() |
| Thread Tools | |
| Display Modes | |
| |