© Tim Costello, Lori Blackshear 2020
T. Costello, L. BlackshearPrepare Your Data for Tableauhttps://doi.org/10.1007/978-1-4842-5497-4_10

10. Pivoting Data

Tim Costello1  and Lori Blackshear2
(1)
Euless, TX, USA
(2)
Fort Worth, TX, USA
 

Pivoting data is one of my favorite uses of the Data Prep tool. I’ve done this task in a variety of tools over the years, but none were as easy or as intuitive as Prep. As usual, we begin with a short discussion of when and why you might want to pivot (or unpivot) your data.

For me, the single biggest use case for pivoting data involves survey data. In almost all cases, your analytics will benefit from pivoting raw survey data. Why is this the case? Because frequently Tableau just works better when the data you are trying ...

Get Prepare Your Data for Tableau: A Practical Guide to the Tableau Data Prep Tool 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.