Exploring, modeling, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Dynamically selecting Today() as the end date in a filter object SAS VA

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 16
Accepted Solution

Dynamically selecting Today() as the end date in a filter object SAS VA

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?

 

 


Accepted Solutions
Solution
‎03-01-2017 08:39 AM
Occasional Contributor
Posts: 16

Re: Dynamically selecting Today() as the end date in a filter object SAS VA

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 Smiley Wink

View solution in original post


All Replies
Super User
Posts: 1,209

Re: Dynamically selecting Today() as the end date in a filter object SAS VA

Occasional Contributor
Posts: 16

Re: Dynamically selecting Today() as the end date in a filter object SAS VA

Thank you, I will look into these.
Solution
‎03-01-2017 08:39 AM
Occasional Contributor
Posts: 16

Re: Dynamically selecting Today() as the end date in a filter object SAS VA

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 Smiley Wink

Post a Question
Discussion Stats
  • 3 replies
  • 201 views
  • 0 likes
  • 2 in conversation