GMROI Configuration
Hi,
I am trying to configure GMROI in RPAS config tools.
GMROI has to be calculated as per standard formula:
GMROI = (sum of gross margin value for previous 11 months plus the current month) / (average closing stock of previous 11 months plus the current month)
To configure the above calculation, I have add the following rule, but it is not giving correct result:-
BUWpGMROIChC = tssum(BUWpGMPV.level([clnd].[mnth]), current-11, current) / tsavg(BUWpEOPChC.level([clnd].[mnth]), current-11, current)
Note that BUWpGMPV and BUWpEOPChC are week level measures, so I am using the level modifier to get the data for previous 11 months and for the current month.