Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have dimension as QurterYear and I am getting all qurteryear values in Bar graph but when am writing below code for Growth value then am not getting exact growth value for respected quarter.
=(( (SUM( [Sales Amount]) - SUM( [Return]) )
-above((SUM([Sales Amount])- SUM( [Return ])) ,4 )) /above((SUM( [Sales Amount]) - SUM( [Return])) ,4)) * 100
Thanks
What is 4 here?
Hi
Are you trying to do a quarter on quarter growth?
I noticed you have put an offset of 4 and if its meant to be quarter on quarter then i would assume you should use 1 instead.
Also you might need to use the aggr function too.
Please try the below and hopefully this does what is required
=num((((SUM([Sales Amount]) - SUM([Return]) )-aggr(above((SUM([Sales Amount])- SUM([Return])) ,1,1 ),QuarterYear))
/aggr(above((SUM([Sales Amount])- SUM([Return])) ,1,1 ),QuarterYear)),'#,##0%')
Hi
Did this solve your query?
Please mark as correct to help other community users if it did.
Thanks
Dan
=(( (SUM( [Sales Amount]) - SUM( [Return]) )
-above((SUM([Sales Amount])- SUM( [Return ])) ,4, 0 )) /above((SUM( [Sales Amount]) - SUM( [Return])) ,4, 0)) * 100