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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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