KNOWLEDGE BASE

Setting Date Range Filter Values Using a URL Parameter


Published: 08 Oct 2014
Last Modified Date: 17 Jul 2017

Question

How to set date range filter values using a URL parameter. 

Environment

  • Tableau Online
  • Tableau Server

Answer

  1. Create start and end date parameters. For more information, see Creating a Filter for Start and End Dates Using Parameters.
  2. Publish the workbook.
  3. In your browser address bar, append the parameters Start Date and End Date to the end of the URL for your workbook. For example, http://servername/views/Superstore/RegionalSales?Start%20Date=2011-01-01&End%20Date=2011-11-01, where ?Start%20Date=2011-01-01&End%20Date=2011-11-01 generates a filtered view displaying data starting on January 1st, 2011 and ending on November 1st, 2011. For more information, see Filter Views Using URL Parameters.
Did this article resolve the issue?