Explore Courses Blog Tutorials Interview Questions
0 votes
in BI by (22.5k points)
recategorized by

I am using a query in Tableau:

select * from mytable where Date(sometimestamp) between

start_date and end_date

As we change the date range, we can see that the date varies.

I want to set start_date as default current_date -90 and end_date as current_date  

1 Answer

0 votes
by (11.1k points)
edited by

In the data, the source date filter selects relative dates.

In relative dates  Months, Last 3 or select days and enter 90 under the "Last" radio button and click ok.

If you want to learn more about it Tableau, then go through this Tableau Training for more insights. 

Browse Categories