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?
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?
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Creating Beautiful Reports
SAS Visual Analytics Learning Center
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.