BookmarkSubscribeRSS Feed
theBIFellow
Calcite | Level 5
Hi All!

I'm quite new to EG and running into some issues while using prompts.

I have two simple text prompts (so far) and both exhibit the same problem. Despite being able to supply multiple options at the prompt it only ever returns the first choice.

So for example at the prompt screen I chose ESP and DEU but it only returns ESP. If I switch the order it only returns DEU. If I add ten options it still only returns the first one.

I've tried a lot of different operators in the Query Builder filter section : equal to, in list, between, in range etc. As you can see, some of these are wildly inappropriate, but this kind of thrashing around is symptomatic of my desperation; I may very well soon begin to cry.

At the moment I'm using "equal to" because this seems the most reasonable choice.

Any ideas?
2 REPLIES 2
yonib
SAS Employee
Hi,
There is a good article call :Interactive and Efficient Macro Programming with Prompts in SAS® Enterprise Guide® 4.2.
In the article, search for MULTIPLE VALUE PROMPTS, you will find exactly what you need.
theBIFellow
Calcite | Level 5
Thanks for that! I'm having a read of that right now:-)

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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