BookmarkSubscribeRSS Feed
cokello
Fluorite | Level 6

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

cokello_0-1613045871516.png

 

1 REPLY 1
FreelanceReinh
Jade | Level 19

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

  • pA = 100% ∙ RA/(RA+RB+RC+RD)
  • pB = 100% ∙ RB/(RA+RB+RC+RD)
  • and so on

and similarly for the other three regions.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 1 reply
  • 1091 views
  • 1 like
  • 2 in conversation