This extension allows you to add a parameter to a Tableau dashboard whose domain is based on your data. Added a new product line? Expanding to new regions? No longer do you need to manually edit the parameter to update it, with this extension your parameter values update automatically!
See the Tableau Help topic Use Dashboard Extensions for directions. When presented with the list of available Dashboard Extensions, search for Data Driven Parameters to find and install this one.
- Create a parameter that accepts all values (no lists or ranges), make sure it has a data type matching the field you want to use to populate it.
- Drag in a new Extension object to your dashboard and click "My Extensions"
- Find the manifest (.trex) file you downloaded above.
- In the pop-up configuration window select the parameter you created above for the extension to manipulate.
- Select the worksheet that holds the field you want to base your parameter on.
- Select the field you want to base your parameter on.
- Optional: Configure the options and formatting settings.
- Click 'OK'.
If you want to use a locally-built version of this extension or if you want to make any of your own changes, follow these steps:
- Make sure you have Node.js and Yarn installed.
- Clone or download and unzip this repository. Open the command line to the
extension-data-driven-parameters-master
folder and runyarn
to install the node modules. - Edit the
homepage
in thepackage.json
file to the server where you are going to host the extension. For example:
"homepage": "http://localhost:8080",
- In the command line run
yarn build
to build the extension with the new homepage. - Copy the files in
build
to your web server at the path you specified in Step 3. - Update the existing or create a new manifest file (.trex) to point to the URL where you are hosting the extension with
/#/parameter
at the end. For example:http://localhost:8080/#/parameter
.
Tableau customers can contact the Tableau Support team for help.
For any local build or code related questions, please post to the Issues tab here for community support.
Note: Please use arrow keys and 'Enter' to select dropdown options.