BookmarkSubscribeRSS Feed
KubiK888
Calcite | Level 5

I have a bar chart based on frequency percent on the y axis, and on the x axis it is composed of 7 age age groups. And in each age group you have "Y" and "N".

 

For example, for age group 1, there is 50% "Y" and 50% "N". For age group 2, there is 30% "Y" and 70% "N".

 

Currently when I select the measures as "Frequency Percent" it doesn't display the percent based on the 100% within each age group, but it's a percent based on all groups across all age groups and "Y" and "N" categories. 

 

How can I restrict the percent to sum up to 100% for each age group?

1 REPLY 1
Madelyn_SAS
SAS Super FREQ

One of the properties for the bar chart is Grouping Scale. For that option you can select Normalize groups to 100%. Have you tried that?

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1366 views
  • 0 likes
  • 2 in conversation