Creating a custom date period filter
In this recipe, we will create a custom date period that will drive the labels and detail shown in our time series graph.
![Creating a custom date period filter](/api/v2/epubs/9781786465634/files/graphics/B05527_03_75.jpg)
Getting ready
To follow this recipe, open B05527_03 - STARTER.twbx
. Use the worksheet called Custom Date Period
, and connect to the DOHMH New York City Restaurant Inspection Results
data source.
![Getting ready](/api/v2/epubs/9781786465634/files/graphics/B05527_03_76.jpg)
How to do it…
The following are the steps to create a chart with a custom date period parameter:
- Right-click the arrow beside the Dimensions section in the sidebar, and select Create Parameter.
- Create a string ...
Get Tableau 10 Business Intelligence Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.