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 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 16. 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
  • 416 views
  • 1 like
  • 2 in conversation