TM1 MDX - Current Date/Year
Posted: Sun May 03, 2009 7:32 am
Hi Guys,
I currently have a subset in my year dimension titled Current Year. However this subset is manually set to 2009. Is there away that I can do a MDX expression that makes the subset set to the current year dynamically.
I have looked some online articles relating to TM1 MDX, but I am unable to find a function similar to Now()? I believe that there is a year function, but you have to pass it a date, therefore I just need to find a way to pass it the current date.
Any help would be appreciated.
I currently have a subset in my year dimension titled Current Year. However this subset is manually set to 2009. Is there away that I can do a MDX expression that makes the subset set to the current year dynamically.
I have looked some online articles relating to TM1 MDX, but I am unable to find a function similar to Now()? I believe that there is a year function, but you have to pass it a date, therefore I just need to find a way to pass it the current date.
Any help would be appreciated.