cancel
Showing results for 
Search instead for 
Did you mean: 

BPC 10.1 issue of QTD, YTD measures on a PERIODIC application

sindane2
Newcomer
0 Kudos
359

The issue came in because of our fiscal year change from Jan to December to fiscal year: Jul to Jun. The pre-delivered measures (QTD and YTD) are NOT working correctly as defined in the measure formula but the specified above are not working. Below are formulas that are not calculating correct after the fiscal year change in the TIME dimension:

QTD Measure formula

'IIF([%COST_ELEMENT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEQUARTERLEVEL%], [%TIME%].CURRENTMEMBER),-[MEASURES].[/CPMB/SDATA]),IIF([%COST_ELEMENT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEQUARTERLEVEL%], [%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),IIF([%COST_ELEMENT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),IIF([%COST_ELEMENT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3

YTD measure formula

'IIF([%COST_ELEMENT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER),-[MEASURES].[/CPMB/SDATA]),IIF([%COST_ELEMENT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),IIF([%COST_ELEMENT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),IIF([%COST_ELEMENT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3

Our time dimension:

We are on BPC 10.1 and BW 7.5Please advise what we could be missing. Theoretically it should work but it is not working.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello!

On other occasions, I have done the same thing, and the only things I have changed are the hierarchy and the timeID. Have you checked that these two are correct? I'm sharing a link that I hope will help you: https://answers.sap.com/questions/6980581/time-dimension-master-data--days.html?childToView=6994973

I hope it is be helpful to you