BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sdang
Quartz | Level 8


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

Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
tlk
Quartz | Level 8 tlk
Quartz | Level 8

You create a new filter

2015-03-17 16_16_19-Query Builder for SASApp_STP Samples.jpg

Then you select your column and after in the value field

2015-03-17 16_16_49-Query Builder for SASApp_STP Samples.jpg

you select your prompt

View solution in original post

5 REPLIES 5
tlk
Quartz | Level 8 tlk
Quartz | Level 8

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)

sdang
Quartz | Level 8

How do I apply macro?

tlk
Quartz | Level 8 tlk
Quartz | Level 8

You create a new filter

2015-03-17 16_16_19-Query Builder for SASApp_STP Samples.jpg

Then you select your column and after in the value field

2015-03-17 16_16_49-Query Builder for SASApp_STP Samples.jpg

you select your prompt

sdang
Quartz | Level 8

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.

Capture.PNG

Capture1.PNG

Thanks

sdang
Quartz | Level 8

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.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 5155 views
  • 0 likes
  • 2 in conversation