BookmarkSubscribeRSS Feed
sidmech2006
Fluorite | Level 6

Hi All

 

In my SAS Dataset that I have imported in SAS VA, I have a Categorical column which has ID values like 1,2,3...10. I have the corresponding ID to names mapping avaialble and would  now need to map the ID number to ID name. Can we do this directly in SAS VA Report Designer? Could you help if not pssoible directly in SAS VA?

 

Thanks

Sid

3 REPLIES 3
Madelyn_SAS
SAS Super FREQ

Can you tell us more about why you need to map the two values?

sidmech2006
Fluorite | Level 6

Hi

 

The reason for the mapping is because I want specific names in the report filters INSTEAD of the IDs as shown currently. So basically would need to do a vlookup of the  ID names for all the IDs rather than doing it manaully

 

Sid

SASKiwi
PROC Star

How many discrete IDs do you need to map? If the number is small a report custom category would work and is easy to set up. If the number is large or changes dynamically based on your data then a SAS user-defined format is worth considering. This is more complicated to set up but is very flexible. User-defined formats are created outside of SAS VA using Base SAS. 

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
  • 3 replies
  • 957 views
  • 0 likes
  • 3 in conversation