How do I add prompt to filter in Query setting. So when users open the report it prompts them to input two date values. I created the prompt in Prompt Manager. Below is the image of where I want to use my prompt.
Thanks
You create a new filter
Then you select your column and after in the value field
you select your prompt
In Options menu you will have the prompt option, there you can had your prompt, then after you will be able to filter using the macro variable defined by the prompt (&yourprompt)
How do I apply macro?
You create a new filter
Then you select your column and after in the value field
you select your prompt
Thank you. I applied your setting and it worked but no data were shown. Any idea? Below is an image of my Promp_1 setting and the structure of the date/time variable.
Thanks
I found the solution. In step 3 of 4 of Build a basic filter, I selected "In a Range". Thank you for all your help.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.