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

Time slider with dynamic selection for last month

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 8
Accepted Solution

Time slider with dynamic selection for last month

Hi All,

 

Is it possible to dynamically set the date for last month in a slider

Today 09-05-2017

timeslider1.PNG

 

 

Tomorow:

timeslider2.PNG

 

 

 

How to set the range dynamically is already described in the post beneath.

However I want to keep the full range and select per default the last month.

 

 

https://communities.sas.com/t5/SAS-Visual-Analytics/Time-slider-with-dynamic-range-for-last-2-months...


Accepted Solutions
Solution
2 weeks ago
SAS Super FREQ
Posts: 70

Re: Time slider with dynamic selection for last month

Hi @PatrickPosthuma,

 

This capability has been added to the latest release of VA running on the SAS 9 platform, VA 7.4. There are options now that allow for setting the slider range values to dynamic minimum and dynamic maximum, which would do exactly what you want. I'm not aware of any workarounds for releases prior to 7.4.

 

Best,

Renato

View solution in original post


All Replies
Occasional Contributor
Posts: 9

Re: Time slider with dynamic selection for last month

You can use the classification on the slider. You can create a support variable for the month and use that on the classification chosing the first two occurnce.

 

Paz

Occasional Contributor
Posts: 8

Re: Time slider with dynamic selection for last month

Hi Paz,

Sorry I did not get you,please explain.
What do you mean with classification?
To be clear the first/default selection must be from 09-04-2017 till 09-05-2017
Tomorow it should be from 10-04-2017 till 10-05-2017
It must be possible to select manually a wider range.

Occasional Contributor
Posts: 9

Re: Time slider with dynamic selection for last month

If you select an object on the report builder on the right side you have a panel in wich you have different section (Role, propertiety, classificatio, filter, ...)

On the classification you can choose for exaple the first ten value on a certain variable.

In your case you can set a filter (not a classification) for example

today() -30 < <your_ data_variable> < today()

You should find the filter thet more suite for you situation

 

Paz

Occasional Contributor
Posts: 8

Re: Time slider with dynamic selection for last month

Hi Paz,
For a slider there is no classification tab and a filter works on the range, not on the 'default/initial' selection
Occasional Contributor
Posts: 9

Re: Time slider with dynamic selection for last month

Ranks not classification. I'm used with the italian version, sorry.

I belive the this can help you Check this

I've done a test and it works

 

Paz

Occasional Contributor
Posts: 8

Re: Time slider with dynamic selection for last month

Hi Paz,

 

That is the link I already refer to when I start this post.

This solution changes the range not the actual selection

Occasional Contributor
Posts: 8

Re: Time slider with dynamic selection for last month

Anybody a solution for my requirement?

Solution
2 weeks ago
SAS Super FREQ
Posts: 70

Re: Time slider with dynamic selection for last month

Hi @PatrickPosthuma,

 

This capability has been added to the latest release of VA running on the SAS 9 platform, VA 7.4. There are options now that allow for setting the slider range values to dynamic minimum and dynamic maximum, which would do exactly what you want. I'm not aware of any workarounds for releases prior to 7.4.

 

Best,

Renato

Post a Question
Discussion Stats
  • 8 replies
  • 155 views
  • 1 like
  • 3 in conversation