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!
Download the Data-Driven Parameter manifest file. Open Tableau Desktop 2018.2 or higher, drag in the "Extension" object to a dashboard. Click "My Extensions" and find the manifest file (.trex) you downloaded above.
- 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'.
- 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
.
If you have questions about the extension or found a bug please open a new issue.
Note: Please use arrow keys and 'Enter' to select dropdown options.