> ## Content Index
> Fetch the complete content index at: https://www.vizney.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Create Parameter Buttons in Tableau
- URL: https://www.vizney.com/parameter-button-in-tableau/
- Published: 2024-08-04T03:00:34.000Z
- Updated: 2024-09-12T11:53:22.000Z
- Description: This approach helps improve the limited parameter UI, making it more intuitive and user-friendly.
- Author: Yehwan Hwang
- Tags: Tips & Tricks

Tableau provides four types of parameter UI, but each has its limitations when used in a dashboard:

- **Single Value List**: The list can only be arranged vertically.
- **Compact List**: Font formatting isn’t applied until the dropdown is expanded.
- **Slider**: Mostly used for specific cases like pagination or setting thresholds with numeric values.
- **Type In**: Useful in cases like searching within a string.

Given these constraints, here’s a way to create a more flexible, web-like interface for better usability in certain scenarios.

### Step-by-Step: Creating Parameter Button

1. Create a parameter.

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Choose-Sales-or-Profit-1.png)

1. Create a calculated field that will be used to make the buttons.

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Sales-Text.png)

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Selected-Sales.png)

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Profit-Text.png)

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Selected-Profit.png)

1. Make a sheet for each button.

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Sales-Button.png)

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Profit-Button.png)

1. Create a calculated field to apply conditions based on the parameter value.

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Sales-or-Profit.png)

1. Create a sheet that uses conditions based on the parameter value.

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Trend.png)

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Trend-Axis.png)

💡

The feature to change axis titles based on parameter values has been available since version 2023.1.

1. Place it on the dashboard.

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Parameter-Button-1.png)

1. Create dashboard actions.

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Choose-Sales.png)

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Choose-Profit.png)

If you’ve completed these steps, you’ll have basic button functionality with parameter actions. However, as noted in a previous post, Tableau’s default behavior keeps clicked items highlighted on the dashboard. You’ll need to add an action to remove this highlighting.

[How to Disable Selection Highlighting in TableauThis is how you can prevent the blue shading highlight that appears when selecting a specific area on a dashboard for interaction.![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/icon/vizney_icon_b_1.0.png)VizneyColson Hwang![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/thumbnail/-------------.gif)](https://www.vizney.com/disable-selection-highlighting-in-tableau/)

1. Create a calculated field needed to disable the selection highlight.

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/00.png)

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/01.png)

1. Create dashboard actions to disable the selection highlight.

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Disable-Sales.png)

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Disable-Profit.png)

You can now create a parameter button that performs an action with just one click!

![](https://storage.ghost.io/c/6a/50/6a50f03c-1922-4e90-bf18-c5abd0f819d4/content/images/2024/09/Parameter-Button.gif)

For more details, you can download and review the Tableau file below.

[Parameter Button in TableauParameter Button in Tableau.twbx359 KBdownload-circle](https://www.vizney.com/content/files/2024/09/Parameter-Button-in-Tableau.twbx "Download")