BookmarkSubscribeRSS Feed
mcperew
Calcite | Level 5

GIven a set of numeric measures which contain only 0/1 values, is it possible to collapse these into a Category where each measure becomes a value in the category?  For if measure Car was 1, then it would become "Car" in the category Vehicle.  If measure Truck was 1, then it would become "Truck" in the Vehicle category.

 

Searching around the community and Google hasn't uncovered a way to do this.

 

Thank you.

1 REPLY 1
Astounding
PROC Star

Have you considered combining them into a long character string?  "001000000" could be mapped pretty easily.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 702 views
  • 0 likes
  • 2 in conversation