Unpivot Multiple Column Pairs Dynamically in Power Query
Need to unpivot repeating column pairs while keeping related values together? In this video, we reshape an HR export where Hours and Cost are repeated across separate columns for each overtime rate. A standard unpivot would separate those values into different rows, so we build a dynamic M solution that preserves each Rate, Hours, and Cost combination. Have you worked with repeating column pairs like this? Share your approach in the comments. I read them. CHAPTERS: 00:00 Expected result and source layout 01:23 Identify the pattern 02:23 Create sets of column names 05:06 Collect values for all sets 07:25 Add the Rate Type label 09:08 Turn each set into a record 10:43 Remove overtime source columns 11:35 Ascribe a new field type 13:40 Adapt the solution for grouped columns If you want to understand what Power Query is doing, not just follow steps, subscribe. CODE SAMPLES: Full step-by-step guide and resources available on GitHub. github.com/m-dekorte/melissa-de-korte-youtube-resources CONNECT: Questions? linkedin.com/in/melissa-de-korte-64585884/ #PowerQuery #Excel #PowerBI

The Microsoft Excel Power Query Trick You Aren't Using (But Should!)

it's time for the talk.

The each Keyword in Power Query M Explained

Stop Sending Ugly Pivot Tables to Your Boss

List.Zip in Power Query. What It Does and What Can Go Wrong.

Power Query Explained: How to Find and Fix Data Errors in Power BI

Nested Table Tricks That Save Hours of Power Query Work

Fixed-Width Text Files in Power Query: a Dynamic Solution

Using a Mapping Table to Manage Column Names and Data Types in Power Query

The Best Lookup Function Nobody Talks About... FILTER

Why Measures Don’t Work in Slicers (And How to Fix It.)

These 5 Custom Column Tricks Make Power Query Easier

The Fastest Replace Values method using a list in Power Query

I don't use VLOOKUP or XLOOKUP in Excel anymore, I do this instead

Power Query Secrets - Simple tweaks is all it takes.

Stop Using Power Query with Default Settings (Change These 7 First)

Power Query - Build a Workflow Status Tracker in One Query 👑

Excel's Game-Changing 5 New Functions!

8 Tiny Excel Symbols That Replace Messy Formulas

