Hey guys,
I have been using SAS VA for about a year, but have worked on multiple other reporting/BI tools before. Most of these tools provide this functionality I am about to describe by default, but it doesnt seem like SAS VA does.
I have several SAS VA reports with Date range filters. The reports work fine and the date filters adjust depending on the data.
I want to know if there is a way to automatically set the end date of these date filters to "today" or whatever the "latest date" is in the data. So if a user logs into VA on 2/23/2017, the end date on that filter defaults to 2/23/2017, or the newest date available in the data itself.
Is this possible?
I actually figured out a better way until SAS Va provides a proper solution.
I will hardcode the end dates in the date filters to some future date, say Dec 31st, 2030. This way, everytime the customer opens up the report the end date will always be recent. Until 2030 that is, but by then I will probably be retired 😉
As you have discovered there is no Today() in SAS VA however there are multiple ways to achieve what you are after.
Have a look at the other posts in the community that give examples of functions and parameters to achieve this.
Kind Regards,
Michelle
I actually figured out a better way until SAS Va provides a proper solution.
I will hardcode the end dates in the date filters to some future date, say Dec 31st, 2030. This way, everytime the customer opens up the report the end date will always be recent. Until 2030 that is, but by then I will probably be retired 😉
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.