After watching this video, you'll be able to dynamically remove columns containing 'key' from your Power Query tables while ensuring query folding is preserved, improving your Power BI data transformations.
Patrick LeBlanc dives into the 30-day Query Folding challenge, focusing on dynamically removing columns that contain the text 'key' from a Power Query table. He demonstrates how to retrieve column names, filter out key columns, and remove them while maintaining query folding. Patrick compares his approach with Alex Powers' method and creates a reusable function to apply this logic across multiple tables. The video highlights practical Power Query techniques to optimize data models by removing unnecessary columns efficiently.
✅ KEY TAKEAWAYS
Learn how to dynamically identify and remove columns containing specific text in Power Query.
Understand how to preserve query folding when transforming data in Power BI.
Create reusable Power Query functions to apply transformations across multiple tables.
Compare different approaches to filtering columns in Power Query.
Gain practical skills to optimize your data model by removing unnecessary columns.
🎥 RELATED VIDEOS
20 questions for 20k subscribers! Thank you!!!: • 20 questions for 20k subscribers! Thank yo...
Upcoming EdX course on Analysis Services Tabular w/ Peter Myers (DAT225X): • Upcoming EdX course on Analysis Services T...
Migrate your Power BI Semantic Models to Direct Lake: • Migrate Your Power BI Semantic Models to D...
⏱️ CHAPTERS
00:00 Introduction to the 30-Day Query Folding Challenge
00:57 Challenge Overview: Remove Columns Containing 'key'
01:36 Getting Column Names in Power Query
01:58 Filtering Columns Containing 'key'
02:45 Removing Key Columns from the Table
03:59 Verifying Query Folding
04:05 Comparing Alex Powers' Approach
04:48 Creating a Reusable Function
05:25 Testing Function and Final Thoughts
Yooo! 🙌 take your data skills to the next level and join fellow data professionals in our community THE CUBE: https://www.guyinacube.com
🌐 LET'S CONNECT!
Official website: https://guyinacube.com
LinkedIn: / guyinacube
Facebook: / guyinacube
Instagram: / guyinacube
Bluesky: https://bsky.app/profile/guyinacube.com
X: https://x.com/guyinacube
🎤 HOST
Patrick LeBlanc
#guyinacube #powerbi #microsoftfabric #powerquery #queryfolding