on 07-21-2018 6:13 PM
Hello Everyone,
I am faced with a tricky reporting requirement which involves the use of current member variables in a BW Query.
Requirement is quite simple. Suppose if the user runs a report with the Cal year month interval -> 01.2018 - 12.2018 then against each month in the row i am able to show YTD value.
But when i run the report with the interval -> 06.2017 - 07.2018, the YTD calculation should reset itself after the change of the year.
Kindly see the output attached to know the output. I am also attaching the technical detail of the YTD Keyfigure.
sdn1.pngIn the output you will see that the YTD values are displayed correctly from the month Jun 2017 till Dec 2017. But if you see the YTD value of Jan 2017 it adds up the value of Dec 2017 and Jan 2018. This is something that i want to avoid happening.
Kindly suggest if there is a way to avoid it.
Regards,
A Singh
Hi,
Were you able to get this without using the CALCULATION tab? Since I need to use the result of the cumulative YTD in a formula, so CALCULATION tab is not a solution.
https://answers.sap.com/questions/13468178/moving-ytd-which-overlaps-to-other-year.html
Thank you.
Loed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Two things: First is that you YTD variable is not working as it should be, it should be only working one year at time. That brings to second point: Query Design approach. What is expected design for 1, 2 or more years? What kind of business rules must be followed to display it properly as expected? Does actual variables and methods capable to support it or should be modified/created new ones? Long story short, what you are displaying is a summarization for all available dataset, then to reach expected behavior to create a summarization each year, you must add calendar year to visualization and get a summarization by each year (Add 'Calendar year' and a higher level field (i.e Company), and for each one at rows section, select it and see 'Display' section @ properties, after ensure 'Result Rows' in such section are set as 'Always display'. Then when changed, it should be reset and summing up related records for same year only and an Overall Result at company level.
Other big thing is realign variables behavior to work in a standard way.
Hope it helps! Good vibrations!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.