Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear All,
Please help me to find a solution for the below :
I Need to get the average Ratio of last 26 weeks for each month and show it on a Line Chart Trend as shown in the below Screens.
Instead of showing 26.97% I need to show 26.03 % for May 2018 (average 26 weeks)
Also
Instead of showing 26.11% I need to show 25.65 % for Apr 2018 (average 26 weeks)
And the same for the other months.
Expression :
avg({<Month = , Year = , [Month Year] = , [Week Year] = >}
aggr($(vNationalizationRatioLast26Weeks),Week , [Month Year],[Business Unit]))
Regards.
Will it be possible to share a sample to look at this?
This is the expression i am using :
avg(TOTAL{<Month = , Year = , [Month Year] = , [Week Year] = >}
aggr($(vNationalizationRatioLast26Weeks),Week , [Month Year],[Business Unit]))
The above expression is giving the correct % for May which is 26.03% but it showing the same percentage for all the other months :S
What should I add to the Expression To get the same result gotten for May for the other Months ????
But isn't that what you wanted?
No I want to get the Average of Last 26 weeks for May which is showing now 26.03 %
And for April 2018 it should show 25.65 % which is the average of the last 26 weeks from April 2018.
It's complicated I know hope it's Clear now.
I suggest you to use The As-Of Table if you are able to make changes in the script. If not, then you will need Missing Manual - Above() and Below() functions to solve this. Set Analysis isn't going to work here....