How to Implement Dynamic Start and End Date Filters in Tableau
- Bernard Kilonzo
- 5 days ago
- 2 min read

Overview
Dynamic start and end date filters in Tableau using parameters allow users to interactively define a custom date range for filtering data, making dashboards more flexible and responsive. By creating two date parameters - one for the start date and one for the end date - and combining them with a calculated field that checks whether each data point falls within that range, you can build a filter that updates based on user input or preset logic. This approach is especially useful for creating rolling windows, comparing custom periods, or giving viewers control over the time frame they want to analyze, all without manually adjusting filters in the workbook.
To implement dynamic start and end date filters with Tableau parameters.
Create Start Date and End Date Parameters
Right-click in the Data pane >> choose Create Parameter
Name it Start Date
Data type: Date
Current value: pick a default (Current value)
Allowable values: All

Repeat the same to create End Date parameter as shown below.

Create Calculated Field for Filtering

The above calculation “Date Filters” will check whether the data falls between the selected dates.
Build the View
In this case I am going to build a simple bar chart.
Drag Sub-Category to the rows shelf.
Drag Sales to the columns shelf.
Sort the view in descending order by Sales.
Label the view.
Show the Start and End Date parameters. (The sample data set I am using ranges between January 2017 and December 2020, and therefore I will select dates within that range).
Add the calculation Date Filters to the filters shelf and select TRUE.

Notice when you change the Start and End Dates on the parameters, the view is recomputed to show performance based on the selected period.
For example, changing the period to December 1st and December 31st, 2020, shows that the Chairs Sub-Category generated the highest revenue in that period when compared to other products.

Conclusion
Incorporating dynamic start and end date filters using Tableau parameters transforms static dashboards into interactive, user-driven experiences that adapt seamlessly to evolving analytical needs. By empowering users to define custom time ranges through intuitive date pickers and calculated logic, this approach enhances flexibility, reduces manual updates, and supports deeper insights across varied time frames. Whether you're building rolling windows, comparing fiscal periods, or simply offering more control to stakeholders, parameter-based date filtering is a foundational technique that elevates the precision and usability of any Tableau visualization.
If you like the work we do and would like to work with us, drop us an email on our contacts page and we’ll reach out!
Thank you for reading!!