Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am using below code in my combo chart to calculate YTD Average.
Dimensions: DEPT,PRODUCTTYPE
Selection: MONTH,YEAR
aggr(RangeAvg(Above( sum({<Year={$(=Max(Year))}, MONTH>}SALES),0,RowNo())),DEPT,PRODUCTTYPE,MONTH)
/
aggr(RangeAvg(Above( sum({<Year={$(=Max(Year))}, MONTH>}VOLUME),0,RowNo())),DEPT,PRODUCTTYPE,MONTH)
Issue: Application is hanging showing green color loading button when I select MONTH.
Please help me in fine tune the expression.
Thanks in advance.
I would suggest using The As-Of Table instead RangeSum(Above()) to improve performance here.
Hi Sunny,
Could you please help me with the code. How to do that.
I need to calculate YTD AVERAGE.
Thanks in advance.
Not sure what the expected output is, but can you check the attached