Tableau Basics: Use Separate Legends to Show Specific Measure Changes
Imagine your organization’s leadership is looking for information about their key performance indicators for the last four years. You set to work building a highlight table to show the changes in each specific indicator over time—the darker the square the larger the value. Everything is going great until you add the second measure. Now, only one of your measures is truly showing the change year over year, and the other is simply one solid color all the way through. What is happening and why? How can you get each individual measure to have its own levels of highlight?
Using the Sample Superstore dataset, we can easily re-create the issue. We can build a highlight table using the measures Discount, Profit, Quantity, and Sales:
Drag Order Date to the Columns shelf.
Drag Measure Names to the Rows shelf.
Drag Measure Values to the Text shelf on the Marks card.
Remove measures until only Discount, Profit, Quantity, and Sales remain.
Add Measure Values again to the Color shelf on the Marks card.
Change the Marks card chart type to square.
You should end up with a heatmap crosstab.
Hopefully, when you examine this heatmap, you can quickly ...
Get Tableau Basics: Use Separate Legends to Show Specific Measure Changes 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.