BookmarkSubscribeRSS Feed
jcb267
Calcite | Level 5

Hi -

I have a prompt in my data that is looking at a column that is populated with a Y or an N.  If I want Y or N it seems to work fine but if I want both it does not work.  I suspect that the prompt creates a where clause that has an AND in it but this should be an OR......Is there any way to change this?

John

4 REPLIES 4
pradeepalankar
Obsidian | Level 7

your question is not clear...input/output data and some more explanation might help us understand better.

TomKari
Onyx | Level 15

As mentioned above, the question is a bit vague, but here's a stab at it.

Try setting up your filter for an "In a list" condition, and it might work.

Tom

Jagadishkatam
Amethyst | Level 16

Hope you have selected "Multiple Values" under number of values like below while creating the prompt and have used "in a list" condition as suggested by Tom.

Thanks,

Jag

Thanks,
Jag
jcb267
Calcite | Level 5

Thank you, Jag......this worked!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 4 replies
  • 1574 views
  • 6 likes
  • 4 in conversation