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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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