Create Variable Columns in Power Query - Goodly Challenge - The First Class Edition @OzduSoleilDATA
Create Variable Columns in Power Query - Goodly Challenge - The First Class Edition  @OzduSoleilDATA
Uploaded July 2022 | Updated November 2026, 2 days ago
Here is an interesting challenge. With a column of names, and a column of musical preferences and each person has multiple music preferences, how can the preferences be split such that you have TRUE if a person has that preference, and FALSE if a person does not?

One twist: what if there's a person added/removed or a music preference is added/removed?

This challenge came from Chandeep Chhabra at the Goodly YouTube channel.
My solution in Power Query includes:
Left Outer Join with 2 criteria
Cross Join
Conditional Column
Pivot Don't Aggregate

All handy features that can help you create dynamic solutions in Excel and Power Query.

See the challenge as described by Chandeep: youtu.be/7Vow1L8Mu9g
Wyn Hopkins' challenge: youtu.be/7A43scSbxCk

0:00 Intro
0:54 Explaining the challenge
2:15 Starting the solution
4:39 Cross Join
6:34 Merge queries with 2 criteria
8:29 Pivot Don't Aggregate
9:50 Add more data
10:49 Outro

#ExcelChallenge #FirstClass #PowerQuery

For a list of my Excel courses at Lynda/LinkedIn:

linkedin.com/learning/instructors/oz-du-soleil

There are courses on Power Query, Good spreadsheet habits, and a weekly Excel challenge that comes out every Friday.

Website: ozdusoleil.com

My book: Guerrilla Data Analysis 3rd Edition
mrexcel.com/products/guerrilla-data-analysis-3rd-edition

My old blog: datascopic.net/blog-2-2
Create Variable Columns in Power Query - Goodly Challenge - The First Class EditionPower Query: Summing Data from Specific RangesTry ... Otherwise: Power Querys version of Excels IFERRORDiscussion: Learning Excel & 3 Types of Mastery | Guerrilla Data Analysis 3 | SkirmishesExcel Power Query  Data Cleansing Part 1 Different Ways to Format Data Using Power QueryWhat does it take to get data into a Pivot Table? | Excel Ignited Day 12 | SSSVEDAThe Wildest Excel Spreadsheet Ever:  HLOOKUP and the Importance of Building a ModelExcel Weekend 4 - Summary with Cristiano Galvão and Oz du SoleilInvestigating Data with Bar Graphs and Pivot TablesThe Ticket Challenge from Wyn Hopkins | Convert a matrix into 2 columns using dynamic arraysPower Query: Sorting & Merging and ignoring Case-Sensitivity | Excel Days in Bulgaria | My RoadtripDynamic Arrays: Identify Rows That Have Duplicates Using COUNTIFS and Excels New Calculation Engine
Excel On Fire (Oz du Soleil) |

Create Variable Columns in Power Query - Goodly Challenge - The First Class Edition

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER