Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all QS experts,
I have an issue with the rolling 12 month bar chart.
After applying the expression below, I found there are two issues:
(2) After changing the dimension to B, the 2024-Dec number becomes 31, instead of 27, which 27 is accurate
Hi,
I believe the problem is related to using the Above() function in a multi-dimensional chart (or AGGR, for that matter). By default, the Above() function works within the "current segment" of the two dimensions. In order to make it work across multiple dimensions, add the TOTAL qualifier to the Above().
Another possible issue is the inner Set within the AGGR, which is not repeated outside of the AGGR. Based on the logic of your formula, you should add the Set defined in the Count function, to the outer set that you specify before the AGGR - then it will apply correctly to the whole calculation.
Other than that, there could be errors with variables, field names, etc... - it's hard to predict all the possible issues without seeing the App.
Cheers,