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

Hello Everyone,

 

I am Using SAS Visual Analytics on SAS 9.4 on Windows and I am having a rough time figuring out how to rank line items in a cross-table.

 

I want to rank each Sub-Category based on a value in its own category. maybe the below picture will clarify what I need.

 

need VA.png

 

Can you please help me ?

 

Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
acordes
Rhodochrosite | Level 12

Visual Analytics cannot derive a rank score directly, but you can use it in the object's role itself. 

It's called rank and you can select x or x% top entries based on a variable's value. 

But in my experience you cannot control for group structure. 

So in your example TOP3 would show 

Soccer 15

Tennis 12 

Tennis 10

View solution in original post

3 REPLIES 3
Madelyn_SAS
SAS Super FREQ

Just to clarify, your goal is to create a new column with the ranking values? 

Achraf_Ougdal
Obsidian | Level 7

Yes exactly and I wanna do it in SAS Visual Analytics

 

acordes
Rhodochrosite | Level 12

Visual Analytics cannot derive a rank score directly, but you can use it in the object's role itself. 

It's called rank and you can select x or x% top entries based on a variable's value. 

But in my experience you cannot control for group structure. 

So in your example TOP3 would show 

Soccer 15

Tennis 12 

Tennis 10

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 3 replies
  • 627 views
  • 2 likes
  • 3 in conversation