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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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