1 of 1 people found this helpful
I'd use a parameter for this. In the parameter you'd select the last day (of the 5 days in question), then you'd have a calculated field that filters to the last 5 days from the date selected.
The problem is then to make the parameter default to today's date all the time, which starting version 2018.2 you can now do using Dashboard extensions: https://extensiongallery.tableau.com/products/28.
Hope this helps!
First of all Thanks a lot for your help!!!!
I am using the extension and setting the parameter value to get the last 5 days from Today. But, one of my requirement was, make the calendar selected. Which mean when the page loads, the Calendar will look like below.
And when the user click on another date, it clears the selection and show for that particular day.
Lemme know if you find any way to achieve it.
Thanks and Regards,