Hi,
I am trying to create a bar chart in the report using SAS VA and I want to get the percentage of different group within same category. For example, I have group A, B and C. I use Year as category or the x-axis. I try to get the percentage so that if I add up the percentage for A, B and C in the same year it will be 100%. But currently the percentage will be 100% only when I add up the percentage for all the year.
Can someone help me with it? It is quite urgent.
Thanks!
Hi Teja,
The trouble is, the percentages are based on the full data and not the subgroup:
There doesn't seem to be an easy way to get these group subtotals in a barchart.
Sam
Hello Sam,
I got it.., I agree with u..
Teja
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.