I am using the slider interface to select date interval (date1
to date2
), as illustrated below. I need that the default value for date1
is "now()- 20 days"... It is possible to do this? Perhaps using DAX, but how to do this?
NOTES
a global (page) filter with the logic "last 20 days" is a workaround but it is not a solution because reduce the slider domain. I need to use all the dates in a big range... The set default
date1
logic is only "to be friend with the user", offering a good start view of the dashboard, but not eliminating the big range.(edited after @StelioK's answer). I need that the online dashboard starts with this "pre-selected date"... If I put with the mouse the slider in the position that I need (middle), save and publish the dashboard, ok, every user will open it as "default state" (open dashboard with slider in the middle). But I can't do it every day and all my life, I need to automatize the process.
Analogy: the
selected
attribute of HTML interface offers a way to change default start-option.