Tableau is a powerful data visualization tool that allows users to create interactive and engaging visualizations from a wide range of data sources. One of the key features of Tableau is its ability to create dynamic visualizations, which automatically update based on changes in the data. One common use case for dynamic visualizations is to allow users to select a date range and automatically update the visualization. In this article, we will explore how to do dynamic date selections in Tableau.
Keep on Reading: Tableau Data Analyst Certification Questions »

Desktop Specialist
Learn more about Desktop Specialist Certification.
Data Analyst
Learn more about the Data Analyst Certification.
Server Certified
Learn more about the Tableau Server Certification.
Ready to contribute to the Tableau community? Get $30 for sharing your work and certification experiences. Write and get paid for every article. Learn more »
- Create a Parameter The first step in creating a dynamic date selection in Tableau is to create a parameter. To do this, go to the “Data” pane and click on the “New Parameter” button. In the “Create Parameter” dialog box, give the parameter a name, such as “Date Range,” and set the data type to “Date.”
- Create a Calculation The next step is to create a calculation that will return the selected date range. To do this, go to the “Analysis” menu and select “Create Calculated Field.” In the formula editor, enter a calculation that will return the selected date range, such as “DATEADD(‘day’, [Date Range], [Date]).”
- Use the Parameter in Filters The final step is to use the parameter in filters to set the date range. To do this, drag the parameter to the “Filters” shelf and set it to the desired date range. This will filter the data to only show the data that falls within the selected date range.
- Use the Parameter in the visualization Once you’ve set the filter, you can then incorporate the parameter to the visualization, by dragging and dropping it to the view, this will allow you to have a dynamic visualization that updates every time the date range changes, for example, by creating a dynamic date filter.
- Incorporate the parameter to the tooltips You can also incorporate the parameter to the tooltips, this will allow you to have a dynamic date label on the view, this can be useful to show the selected date range.
Keep reading: Tableau Desktop Specialist Certification Questions »

In conclusion, dynamic date selections in Tableau are a useful technique that can enhance the usability and interactivity of your visualizations. By creating a parameter and linking it to a calculation that returns the selected date range, you can easily set the date range and update the visualization accordingly. This can be useful for creating dynamic visualizations that automatically update based on changes in the data, and also for creating dynamic date filters.
Get our Most Popular Downloads
Download the most popular scenario-based Tableau Workbooks in .twbx format. Used by thousands of Tableau developers and job aspirants every day to improve and fine-tune their CV and Tableau Public profile. Join the largest Tableau Experts Social Group.

Banking & Financial Dataset Analysis
Financial Domain Tableau Dataset and Analysis. The most important domain in today’s industry. Analyze Key Performance Indicators. Discover Risky and Fraudulent Outliers. Download the Tableau Packaged (.twbx) Workbook. Includes a complete Financial dataset analysis. Enhance your Data Analytics experience with our skilled analysis.

Healthcare & Hospital Dataset Analysis
Hospital and Healthcare Domain Tableau Dataset and Analysis. A key field of study with millions of lives at stake. The most sensitive industry today. Download the Tableau Packaged (.twbx) Workbook. Understand how healthcare datasets work. Includes a complete Healthcare dataset with analytical charts. Explore Tableau interactive features with this download.

Insurance Dataset Analysis
Insurance Domain Tableau Dataset and Analysis. Important domain specific metrics and data. Learn how to visualize important metrics. Show outliers and insightful data points. Download the Tableau Packaged (.twbx) Workbook. Includes comprehensive analysis of Insurance data of a large sample population. Uses industry standard analytical practices.
First Working Day of the Quarter
Get the Tableau Workbook identifying the First Working Day of any Quarter of a Year.

By the Editorial Team
Tableau Practice Test
The best Tableau practice exams built. Period. Explore definitive practical problems created by brilliant Tableau experts.