BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Pato485
Calcite | Level 5

How to calculate % like this:

Pato485_0-1673602932594.png

Need to calculate it in a groups, not from whole data. so it should look like this:

Pato485_1-1673603015428.png

How to do it pls? Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
HunterT_SAS
SAS Employee

You should be able to do this by right-clicking on the measure header and selecting Create and Add Calculation:

HunterT_SAS_0-1673620304719.png

Then set Type as Percent of column subtotal:

HunterT_SAS_1-1673620341511.png

 

Hopefully that gets what you want!

View solution in original post

1 REPLY 1
HunterT_SAS
SAS Employee

You should be able to do this by right-clicking on the measure header and selecting Create and Add Calculation:

HunterT_SAS_0-1673620304719.png

Then set Type as Percent of column subtotal:

HunterT_SAS_1-1673620341511.png

 

Hopefully that gets what you want!

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.

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
  • 532 views
  • 1 like
  • 2 in conversation