Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm trying to create a chart that only brings in a value for certain varaible, I've created the expression below
Sum({$< ACCAccount ={12170,12340,12350,13910,"2A600","2AB00"}>} GLBal.YTDActual)
This does give me the information but it is split by each ACCAaccount, what I need is one total for all 7 codes
If you want one total for all 6 codes, then I would remove the ACCAccount field as a dimension.
Try the TOTAL qualifier:
Sum({$< ACCAccount ={12170,12340,12350,13910,"2A600","2AB00"}>} TOTAL GLBal.YTDActual)
No that didn't work, seemed to bring through the tatal for all the ACCAaccount not just the 7 I'm interested in.
Hi,
one thing i noticed is that you are always asking for 7 codes but in set analysis there are only 6 codes
And please come with a complete briefing.
Thanks
Sorry only 6 codes, I miss counted
It should return the total only for the set of values, but it will display this total for all dimension values, not only for the values in your set.
If you are going to use another aggregation in this expression with the same set, e.g. to calculate a percentage, this should overcome the issue:
= Sum({$< ACCAccount ={12170,12340,12350,13910,'2A600','2AB00'}>} GLBal.YTDActual) /
Sum({$< ACCAccount ={12170,12340,12350,13910,'2A600','2AB00'}>} TOTAL GLBal.YTDActual)
Or just define that you only want to see the total for the dimension values in question:
if( match(ACCAcount,'12170','12340','12350','13910','2A600','2AB00'), Sum({$< ACCAccount ={12170,12340,12350,13910,'2A600','2AB00'}>} TOTAL GLBal.YTDActual) )
"but it is split by each ACCAaccount"
What is the dimension in the chart?
The two dimesions are ACCAaccount and Period
If you want one total for all 6 codes, then I would remove the ACCAccount field as a dimension.
Thnaks resolved my problem