Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Pivoting and Unpivoting | Shaping Data with Power Query
Power BI for Beginners

Pivoting and Unpivoting

Swipe to show menu

Real-world data often arrives in formats that Power BI can't use directly. A common example is spreadsheets with months spread across columns instead of listed down rows. In this chapter, you'll learn how to reshape data using Power Query's pivot and unpivot features.

You'll transform the Summit Gear monthly targets file from a wide format (one column per month) into a tall format (one row per region, per year, per month) that Power BI can work with. You'll learn the difference between pivoting and unpivoting, as well as when to use each.

question mark

You receive a spreadsheet with columns for "Q1 Sales," "Q2 Sales," "Q3 Sales," and "Q4 Sales." You need each quarter's value in its own row. Which Power Query operation should you use?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 6

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Section 2. Chapter 6
some-alt