top of page

How to Swap Sheets in Tableau

Step 1:

Build a diverging bar chart by using profit on the column shelf and state on the row shelf.

Step 2:

Duplicate that sheet. Move profit to the text mark to create a crosstab

Step 3:

Create a string parameter to allow your user to swap between a bar chart and a crosstab

Step 4:

Create a filter to test if the parameter chosen is “Bar”

[Chart Type] = “Bar”