Power Query practice: Pivoting & Unpivoting Data
Chapter 15 · 5 questions · included in full access
Question 1 · medium
Unpivot Other vs Unpivot Selected
Solve it in your browserNext year TargetsWide gains an Apr column. Which choice keeps working without edits?
Question 2 · medium
Unpivot monthly targets
Solve it in your browserTurn TargetsWide into one row per rep per month. Select Rep, right-click ▸ Unpivot Other Columns, then rename Attribute → Month and Value → Target.
Question 3 · hard
Pivot back to wide
Solve it in your browserThe data is already long (Rep, Month, Target). Pivot it back: select Month ▸ Transform ▸ Pivot Column, values column Target, aggregation Sum.
Question 4 · easy
The wide matrix reporting antipattern
Solve it in your browserWhy should wide presentation matrices (with months as columns) be unpivoted before loading into Power BI?
Question 5 · medium
Unpivot selected target months
Solve it in your browserUnpivot only the Jan and Feb columns of TargetsWide using
Table.Unpivot. Label attribute as"Month"and value as"Target".
These questions are part of full access.
The first chapters of every track are free. Full access is a one-time payment.
See pricing