BookmarkSubscribeRSS Feed
macroCharlie
Calcite | Level 5
Is there a way to create a parameter in the parameter builder where you can base the parameter list on names but use the id of that name in a query filter. Example; I have a table called Methods. Each method has an int ID and a string Name. I want the Name to show up in the prompt for the parameter, but when a user selects the name I want the ID to be used for the filter in the query.
1 REPLY 1
ChrisHemedinger
Community Manager
It sounds like you want to have a display name and an actual value for each item in the list.

You cannot do this in the query builder with project parameters, but it is supported when you create a stored process. In our next release, this is supported with the new project prompts.

Chris
Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1 reply
  • 644 views
  • 0 likes
  • 2 in conversation