Hi experts, I am trying to come up with calculation of inventory coverage for each month (how many months will the forecasted inventory cover the forecasted requirements) which would be possible to drill down ItemClass > ItemGroup > Item. The measure has to be dynamic as the forecasts for a new month are added every month.
I used rolling sums in script to generate fields which I used to define a master measure "".
Unfortunately, the expression involves 6 if statements which has impact on performance, and it would have to be changed whenever new monthly forecasts are added.