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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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