Hello,
Does anyone knows the formula used to calculate ‘Normalise groups to 100%’ in the Group Scale which is found under Option in SAS Visual Analytics 8.5?
Thanks Catherine
Hello @cokello and welcome to the SAS Support Communities!
I have never used Visual Analytics, but from the documentation
If you select Normalize groups to 100%, then the values for each grouped bar are displayed as percentages of the total.
I conclude that you would divide the individual values (≥0) by the sum of all values (≥0) in the same group and multiply by 100% to obtain percentages (summing to 100% in each group).
In the example bar chart presented in the 2014 post Re: 100% Stacked Bar Charts:
If the revenues of the product lines A, B, C and D in facility region "South" are denoted by RA, RB, RC and RD, respectively, then the corresponding percentages pA, pB, etc. (depicted in the stacked bar chart as the heights of the blue, green, red and yellow section of the first bar) are calculated as
and similarly for the other three regions.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.