I'm trying to do this as well. QB adds a where clause like this:
WHERE %_eg_WhereParam( t1.CLCL_PAID_DT, Paid_Dates, EQ, TYPE=D, IS_EXPLICIT=0 );
but I haven't gotten it to work and it doesn't show Paid_Date_Min or _Max as available prompts.
I might have to get rid of the date range macro variable or add a redundant begin_paid_dt and end_paid_dt.
I solved it!
use a 'between range' and you can use a date range macro variable.
it'll generate this filter: WHERE %_eg_WhereParam( t1.CLCL_PAID_DT, Paid_Dates, BETWEEN, TYPE=D, IS_EXPLICIT=0 );
here's a video to explain it. https://www.youtube.com/watch?v=zgk3lJzcIPo
⏰
Today is the last day to save with the early bird rate! Register today for just $695 - $100 off the standard rate.
Plus, pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.