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!

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 367 views
  • 1 like
  • 2 in conversation