List.TransformMany: Generating Combinations - Power Query Challenge 32

Опубликовано: 31 Май 2026
на канале: How to Learn Excel
875
27

List.TransformMany: Generating Combinations - Power Query Challenge 32

In this video, we’ll dive deep into the powerful world of Power Query and show you how to generate all possible letter combinations from a list of given letters. This advanced challenge will help you understand how to manipulate lists and perform complex data transformations using Power Query functions like List.Accumulate and ListTransformMany.

We start by explaining the concept of a Cartesian product, which is at the core of generating combinations. Then, we move on to the implementation, where you'll learn how to iterate through lists, accumulate results, and transform data step by step. We’ll use List.Accumulate, a function that enables you to perform operations across a list and store the result in a single output. It’s an excellent tool for looping through lists, and you’ll see how it plays a key role in solving this challenge.

Next, we bring in ListTransformMany, a versatile function that helps transform multiple lists simultaneously, enabling us to combine letter sets efficiently. Throughout the tutorial, we'll break down each function’s role in detail, so you can follow along and grasp how they work together.

This video is perfect for users who are looking to advance their Power Query skills and learn more about working with nested lists and advanced data manipulation. By the end of this video, you will not only have mastered the process of creating letter combinations from multiple lists, but you’ll also have a deeper understanding of how Power Query can handle complex data operations.
Key Functions Covered:

List.Accumulate: Used to iterate over a list and build up a result.
ListTransformMany: Helps in transforming and combining multiple lists into new formats.
Text functions: These help in manipulating string data throughout the combination process.

Whether you're new to Power Query or already familiar with its basic features, this challenge will take your skills to the next level. Don't forget to subscribe to How to Learn Excel for more advanced tips and tutorials!

Timestamps:
00:00 Introduction to the Challenge
00:14 Creating a Black Query
00:34 Creating All Letter Combinations
01:00 Explanation of Cartesian Product
01:15 Using List.Accumulate Function
01:40 Building Combinations Step by Step
02:10 Understanding ListTransformMany
02:56 Looping Through the Letters
03:40 Combining Letters for Final Output
04:15 Reviewing the Completed Query
04:40 Final Thoughts and Conclusion

🔔 Subscribe for more tutorials:    / @howtolearnexcel  

Links:
Challenge Author: Omid Motamedisedeh
LinkedIn:   / omidmot  
Youtube:    / @omidbi  
Website: https://www.omidbi.com/
Power Query Challenge: https://www.linkedin.com/posts/omid-m...
Download Workbook:
https://lnkd.in/gimCjNcD
4) Solution by Zoran Milokanović:
Power BI Trainer and Consultant
  / zoranmilokanovic  

'Power Query Challenges' Playlist:    • Power Query: Challenges  

#PowerQuery #PowerQueryChallenge #ExcelChallenge #HowToLearnExcel