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-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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