BookmarkSubscribeRSS Feed
JW_Hyde
Obsidian | Level 7

I need to create a filter which checks a value for up to 400 different values then outputs to another dataset.

 

What are people doing to accomplish a task similar to this one?

5 REPLIES 5
PeterClemmensen
Tourmaline | Level 20

Where are these 400 values stored? In a separate data set?

JW_Hyde
Obsidian | Level 7
Yes-they are in a separate dataset.
PeterClemmensen
Tourmaline | Level 20

And what do you want to do is the value matches one of the 400 values in the separate data set? And if it does not?

 

Please be more specific. Preferably, provide example data for us to work with.

JW_Hyde
Obsidian | Level 7

the result of the successful catch with the filter would output that observation to another dataset.

 

 

VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

this sounds like you may want a lookup table that you reference in your selection.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 933 views
  • 1 like
  • 3 in conversation