on 2014 May 23 10:59 AM
Hi,
To simplify report creation for the users and avoid member offset, I'd like to create one measure for Last Year YTD and one for Last Year Periodic (i.e. if I create a report where Time = 2014.May and Measures = YTD, Periodic, LYYTD, LYPeriodic, I'd like to see 2014.May YTD and Periodic, and then 2013.May YTD and Periodic). I'm working in a YTD model in BPC10MS. I've found the LAG function but I don't know what the syntax would look like. Anybody having an idea?
/Cecilia
Dear Cecilia,
You could try:
LYYTD
(CLOSINGPERIOD([%TIMEDIM%].MONTH,[%TIMEDIM%].CURRENTMEMBER).LAG(12),MEASURES.[YTD])
LYPERIOD
(CLOSINGPERIOD([%TIMEDIM%].MONTH,[%TIMEDIM%].CURRENTMEMBER).LAG(12),MEASURES.[PERIODIC])
Brgds
Mattias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
5 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.