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

I would like to know how to calculate the percent of "S" over "CES".

albribmun_0-1664466833768.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
acordes
Rhodochrosite | Level 12

 

AggregateTable(_Sum_, Table(_Sum_, Fixed('_brand'n, 'seg'n),
'Frequency'n)) / AggregateTable(_Sum_, Table(_Sum_, Fixed(
'_brand'n), 'Frequency'n))

 

gif.png

View solution in original post

1 REPLY 1
acordes
Rhodochrosite | Level 12

 

AggregateTable(_Sum_, Table(_Sum_, Fixed('_brand'n, 'seg'n),
'Frequency'n)) / AggregateTable(_Sum_, Table(_Sum_, Fixed(
'_brand'n), 'Frequency'n))

 

gif.png

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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