Hi All,
I have three dropdowns for Year, Quarter and Month in a Report.
I have created a cascaded prompt from Year to Quarter to Month such that when I select an year , corresponding quarter is filtered and when i select the Quarter , corresponding months are filtered.
Now I have the below 2 requirements:
1. First I select an year , then quarter and then month. Now if I clear the year , quarter and month dropdowns should also be cleared.
2. If I have not selected year or quarter, i should not be able to select month also.
Thanks in advance,
Karuna
I think the easiest would be if tou create a separate data table with the time dimension and add one row for non selections.
Example:
Year quarter month
None None None
2017 q1 jan
2017 q1 feb
2017 q1 mar
.... .... .....
Then you either link the drop downs to your ordinary data or create a filter using parameters.
IN the drop boxes you select mandatory and then sort them so that the non selection comes first 🙂
//Fredrik
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.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.