cancel
Showing results for 
Search instead for 
Did you mean: 

Periodic Measure does not calculate correctly (YTD application)

former_member407019
Participant
0 Kudos
670

Hello,

We are on BPC version 10.1 and we are using a YTD application for consolidation. The system does not calculate January Periodic values correctly. (It basically substracts Jan YTD. value from Dec.YTD value of the previous year which obviously is incorrect).

Below is the measurement data and the system support package:

The original formula is as follows:

MEMBER [MEASURES].[YTD] AS 'IIF(([%CUENTA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC" OR [%CUENTA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ"),-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIEMPO%].[%TIMEBASELEVEL%])), ([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIEMPO%].[%TIMEBASELEVEL%])))' SOLVE_ORDER=3 MEMBER [MEASURES].[PERIODIC] AS 'IIF(([%CUENTA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC" OR [%CUENTA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP") AND NOT ([%TIEMPO%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="TOTAL" OR [%TIEMPO%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="Q1" OR [%TIEMPO%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="JAN" ), [MEASURES].[YTD]-([MEASURES].[YTD],[%TIEMPO%].LAG(1)), [MEASURES].[YTD])' SOLVE_ORDER=3

Could you tell me how to correct this problem? Thank you very much for your kind help

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor

You have incorrect values in PERIOD property - have to be ENGLISH: JAN,FEB,MAR....

For JAN you have ENE and this is the reason for incorrect results!

In the standard measure formula you have:

...OR [%TIEMPO%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="JAN"....

former_member407019
Participant
0 Kudos

Thank you. As always, you respond to inquiries. It is good to have a great expert like you.

Answers (0)