cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Model Ytd Report periodic error

michele_medaglia5
Active Participant
0 Likes
2,080

Hola BPC Friends

I don't know what happened in DEV, I have the following problem regarding my Ytd Model:

if I run a ytd report is ok, but if I change the measure to periodic I got the following error, in Quality it is ok

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186338
Active Contributor
0 Likes

What do you mean by "2017.01 has to be Jan.2017"?

You don't need to change ID's or descriptions, only PERIOD property!

michele_medaglia5
Active Participant
0 Likes

thanks a lot.

so I don't need anymore the custom property BPC_START_MNTH and I can change the formula ytd - periodic (at the moment is the following)

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

former_member186338
Active Contributor

You have to use default PERIODIC formula!

With: [%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="JAN"

michele_medaglia5
Active Participant
0 Likes

thanks.

So before to do that should I check all the scripts logic to see if they use the property Period?

former_member186338
Active Contributor

Yes! Script logic has to be checked!

May be also reports, but the probability is low...

michele_medaglia5
Active Participant
0 Likes

thanks Vadim

former_member186338
Active Contributor
0 Likes

Theoretically you can also check dimension member formulas and custom measures...

former_member186338
Active Contributor
0 Likes

PERIOD property is incorrect - First moth of the Year has to be JAN, not MAY etc...

This property is not a month name!

If you want to have real month names - create a new property!

former_member186338
Active Contributor
0 Likes

I have already told you how to correctly use properties of TIME dimension: https://answers.sap.com/questions/47098/index.html

What is the reason to explain again?

michele_medaglia5
Active Participant
0 Likes

you are right but I can take this decision alone

why in QA and Prod work?

former_member186338
Active Contributor
0 Likes

First - fix clear issues! Then we can discuss next steps.

Why other systems work - may be will stop working after next SP or something like

michele_medaglia5
Active Participant
0 Likes

sorry Vadim but it will take a long time to speak with the people in Finance and in IT that have the ownership of BPC

former_member186338
Active Contributor
0 Likes

Sorry, but you have incorrectly configured system! You have to escalate the issue as soon as possible. You can have a lot of other issues and you can end with data loss after some calculations. Do you really want to continue?

michele_medaglia5
Active Participant
0 Likes

it is not me. the consultant company did the project some years ago and they keep supporting the application. I have just joined 6 months ago to support the Finance team.

former_member186338
Active Contributor
0 Likes

But what do you want??? Some magic to make incorrectly configured system working correctly? I suspect other issues if consultancy company have done this particular mistake - it's a clear sign of very low qualification 😞

michele_medaglia5
Active Participant
0 Likes

thanks Vadim for your precious advice.

Tomorrow morning I will work in Dev to change the dimension Time.

so you say that:

2017.01 has to be Jan.2017 but because for our company is May how do I have to set up the standard properties of the dimension time?

Thanks

former_member186338
Active Contributor

All other properties are correct!

You have to change only PERIOD property:

Instead of MAY - JAN

Instead of JUN - FEB

Etc...

If you need calendar month - just create a new property like CALMONTH or CALPERIOD and fill it wth MAY,JUN etc...