How it works...

In the preview on the Data Source page, we see that the format of the data has changed. The original column names—Belgrade, Central Serbia, and Vojvodina—have now become labels in a new column—Pivot Field Names.

On the other hand, the values from the three original columns have all been merged into one new column—Pivot Field Values:

What happened is that we've simply transposed the table, so that we have values from all three columns placed into one column (one beneath the other), while the labels in the Pivot Field Names column denote the original column each value (row) originates from.

If we navigate to Sheet 1, we'll ...

Get Tableau 2019.x Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.