parameters instead of hard coding
You can create a parameter from a field in your data set:
However, this doesn't refresh automatically as your data changes. To make that work, you can use this dashboard extension: https://extensiongallery.tableau.com/products/27
Become a Viz Whiz on the Forums!
Support the Community and master Tableau.
Retrieving data ...