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
SAS Innovate 2026: Register now! April 27-30 in Grapevine TX -- it's the premier conference for SAS users!

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

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