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.
Can you please help me ?
Thank you in advance.
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
Just to clarify, your goal is to create a new column with the ranking values?
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Tricks for SAS Visual Analytics Report Builders
SAS Visual Analytics Learning Center
Yes exactly and I wanna do it in SAS Visual Analytics
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
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!
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.