Table Crosstab in Tableau is the best way to display data in multi-level. In this article, we will show you how to Create a Crosstab Report with an example.
Create a Tableau Crosstab Report
For this Crosstab demonstration, we are going to use the data present in the Global Super Store Excel Worksheet. So, Please refer to Connecting to Excel Files article to understand the connection settings.
Dragging any Dimension field to the Rows section will automatically create a table for you. Otherwise, selecting the Text label will do the trick. Let me drag Country from Dimensions Region to Rows shelf.
Let me add the Sales field to the Measures shelf.
Let me one more Measure called Profit to the Tableau Crosstab report.
To convert this Table to Matrix. Drag and drop the category field to the Columns Shelf
Now you can see the Matrix or crosstab in Tableau.
Let me add one more dimension (Market) to the Columns shelf
You can also add fields on the Rows shelf to group row fields