- 29
- 18 712
Power-M-Query
Australia
เข้าร่วมเมื่อ 18 ส.ค. 2024
Welcome to Power-M-Query- channel for mastering data transformation and automation in Excel and Power BI! Whether you're a beginner just getting started with Power Query or an experienced user looking to refine your skills, this channel has something for everyone.
Here, you’ll find step-by-step tutorials, tips and tricks, and in-depth guides on using Power Query’s powerful M language to clean, reshape, and analyze your data like a pro. From practical use cases to advanced techniques, we cover it all to help you unlock the full potential of your data.
Subscribe now to stay updated with the latest videos and take your data skills to the next level!
Here, you’ll find step-by-step tutorials, tips and tricks, and in-depth guides on using Power Query’s powerful M language to clean, reshape, and analyze your data like a pro. From practical use cases to advanced techniques, we cover it all to help you unlock the full potential of your data.
Subscribe now to stay updated with the latest videos and take your data skills to the next level!
Making Column Splitting Dynamic in Power Query
In this video, we dive into the process of making column splitting dynamic in Power Query, enabling you to adjust how you split your data effortlessly based on changing on the source data. This approach allows for greater flexibility and efficiency in data transformation.
What you'll learn:
Introduction to dynamic column splitting and its advantages
Setting up your data for dynamic column splitting in Power Query
Step-by-step guide to using M functions for dynamic column adjustments
By the end of this tutorial, you'll have the knowledge to implement dynamic column splitting in your Power Query projects, saving you time and effort in your data preparation tasks.
00:00 Introduction
00:42 Simple splitting
02:20 Make the function dynamic
What you'll learn:
Introduction to dynamic column splitting and its advantages
Setting up your data for dynamic column splitting in Power Query
Step-by-step guide to using M functions for dynamic column adjustments
By the end of this tutorial, you'll have the knowledge to implement dynamic column splitting in your Power Query projects, saving you time and effort in your data preparation tasks.
00:00 Introduction
00:42 Simple splitting
02:20 Make the function dynamic
มุมมอง: 268
วีดีโอ
Power Query Split Column: By Delimiter & Non-Digit to Digit
มุมมอง 1979 ชั่วโมงที่ผ่านมา
In this video, learn how to split columns in Power Query using two powerful methods: by delimiter and by non-digit to digit characters. Whether you’re separating text by commas, spaces, or transitioning from letters to numbers, this step-by-step guide will show you how to quickly transform your data. Perfect for anyone looking to clean and organize their datasets efficiently! #PowerQuery #Split...
Power Query Challenge 14: Identify All-Season Products - Solving with List.Difference
มุมมอง 40416 ชั่วโมงที่ผ่านมา
In this video, we tackle the Power Query Challenge 14 by identifying all-season products using the List.Difference function. This challenge focuses on efficiently determining which products are available in all months, helping you streamline your inventory management and reporting processes. What you'll learn: Overview of the challenge and its objectives How to use the List.Difference function ...
Load All Data from a PDF into Power Query at Once
มุมมอง 326วันที่ผ่านมา
In this video, we'll show you how to import data from a multi-page PDF file into Power Query, all at once! This powerful Excel feature makes it easier than ever to extract and transform data from PDFs without having to go through each page manually. What you'll learn: How to connect to a PDF file in Power Query Techniques to extract data from all PDF pages in one step How to clean and transform...
Power Query Challenge 20: Transform Hierarchy Table Structure into Standard Structure
มุมมอง 647วันที่ผ่านมา
In this video, we tackle Power Query Challenge 20, where we transform a hierarchical table structure into a standard table format. This challenge is crucial for simplifying complex data structures and making them easier to analyze and visualize in Excel. What you'll learn: Overview of Challenge 20 and its objectives Understanding hierarchical data and its structure Step-by-step guide to flatten...
Loads all the tables in Power Query by Excel.CurrentWorkbook function
มุมมอง 46914 วันที่ผ่านมา
In this video, we'll explore the Excel.CurrentWorkbook function in Power Query, a powerful feature in Excel that helps you reference tables and named ranges from your current workbook. Whether you're new to Power Query or looking to enhance your data transformation skills, this tutorial will walk you through the basics and provide practical examples to help you understand how to effectively wor...
Power Query Challenge 3: Extracting All Combinations in Power Query - Solving with List.Accumulate
มุมมอง 45314 วันที่ผ่านมา
In this Power Query challenge, we explore an ingenious solution to tackle Challenge 003 using the powerful List.Accumulate function. The task is to extract all possible combinations of IDs and costs. Watch the step-by-step breakdown to learn how to approach this challenge efficiently with Power Query! #PowerQuery #ListAccumulate #DataTransformation #Excel 00:00 Define the problem 01:10 List.Acc...
Split a Column in Power Query Using Multiple Delimiters
มุมมอง 58621 วันที่ผ่านมา
Learn how to split a column in Power Query using multiple delimiters, a powerful feature that allows you to separate data in Excel based on different characters or symbols. This tutorial will guide you through the step-by-step process of handling complex data that needs to be split efficiently. What you'll learn: How to split a column in Power Query using more than one delimiter Techniques for ...
Creating Cartesian Products in Power Query by List.Generate, List.TransformMany, and List.Transform
มุมมอง 44821 วันที่ผ่านมา
In this video, we’ll explore how to create a Cartesian product in Power Query using powerful M functions like List.Generate, List.TransformMany, and List.Transform. Understanding these functions will enable you to perform advanced data manipulation and analysis in Excel with ease. What you'll learn: What a Cartesian product is and its significance in data analysis How to use List.Generate to cr...
Classify Customers Using the K-Means Algorithm in Power Query with R
มุมมอง 33528 วันที่ผ่านมา
In this video, we’ll show you how to leverage the power of R in Power Query to perform customer classification using the K-Means clustering algorithm. This advanced technique will help you segment your customers into different groups based on shared characteristics, making it easier to analyze customer behavior and optimize business strategies. What you'll learn: How to integrate R scripts in P...
Power Query Tutorial for Beginners: Master Essential Tools in Home tab!
มุมมอง 329หลายเดือนก่อน
In this beginner-friendly tutorial, we walk through all the essential tasks on the Power Query Home tab. From importing data to basic transformations, we cover each tool step-by-step, ensuring you understand how to clean, shape, and manage your data with ease. Whether you're just starting with Power Query or need a refresher, this video will equip you with everything you need to get started! #P...
Convert Numbers to Words and Words to Numbers in Power Query Using Python
มุมมอง 351หลายเดือนก่อน
In this video, we’ll demonstrate how to convert numbers to words and words to numbers within Power Query using Python code. This powerful combination will help you automate data transformations and handle specific text-to-number or number-to-text tasks with ease. What you'll learn: How to use Python in Power Query for advanced data transformation Step-by-step guide to converting numbers to word...
Mastering List.Transform in Power Query: Transform Lists Like a Pro!
มุมมอง 1Kหลายเดือนก่อน
In this video, we take a deep dive into the List.Transform function in Power Query, a powerful tool for manipulating and transforming data within lists. Whether you're reshaping your data, applying conditional logic, or creating new values, List.Transform makes it easy. Learn how to apply it step-by-step to solve real-world data problems with practical examples! #PowerQuery #ListTransform #Exce...
Power Query Column Merging Tips: Merging Columns vs. Adding Columns
มุมมอง 323หลายเดือนก่อน
Unlock the full potential of Power Query with this essential guide on merging columns versus adding columns. In this video, we'll explore practical tips for efficiently combining columns, highlight scenarios where merging is more advantageous than adding, and demonstrate step-by-step techniques to enhance your data transformation process. Whether you're cleaning data or building complex queries...
Power Query Challenge 11: Identifying Frequent Codes - Solving with List.Transform
มุมมอง 652หลายเดือนก่อน
In this Power Query challenge, we dive into Challenge 11 using List.Transform to solve the task of identifying frequent codes. The goal is to extract all item codes that are repeated in at least 3 out of the 4 columns presented in the question table. Follow along as I demonstrate a clever approach to solving this challenge step-by-step with Power Query. #PowerQuery #ListTransform #DataTransform...
Effortless Running Total Calculation in Power Query: Step-by-Step Guide
มุมมอง 391หลายเดือนก่อน
Effortless Running Total Calculation in Power Query: Step-by-Step Guide
Transforming Table Shapes: Group Rows and Merge Columns in Power Query
มุมมอง 388หลายเดือนก่อน
Transforming Table Shapes: Group Rows and Merge Columns in Power Query
Unlocking the Power of List.Transform in Power Query: A Comprehensive Guide
มุมมอง 546หลายเดือนก่อน
Unlocking the Power of List.Transform in Power Query: A Comprehensive Guide
Power Query Challenge 2: Advanced Grouping in Power Query: Master the 5th Argument of Table.Group
มุมมอง 837หลายเดือนก่อน
Power Query Challenge 2: Advanced Grouping in Power Query: Master the 5th Argument of Table.Group
Create a Dynamic Date Table in Power Query with a Single Formula!
มุมมอง 414หลายเดือนก่อน
Create a Dynamic Date Table in Power Query with a Single Formula!
Mastering List.Sort in Power Query: Sorting in Ascending, Descending, and Custom Orders
มุมมอง 4112 หลายเดือนก่อน
Mastering List.Sort in Power Query: Sorting in Ascending, Descending, and Custom Orders
Mastering Table Creation in Power Query: 4 Essential Methods
มุมมอง 4592 หลายเดือนก่อน
Mastering Table Creation in Power Query: 4 Essential Methods
Filtering Rows with Non-Blank Values Across All Columns in Power Query
มุมมอง 3252 หลายเดือนก่อน
Filtering Rows with Non-Blank Values Across All Columns in Power Query
Do-While Loop in Power Query with List.Generate
มุมมอง 1.6K2 หลายเดือนก่อน
Do-While Loop in Power Query with List.Generate
Extracting Emails with Power Query Using JavaScript and Regex in Web.Page Function
มุมมอง 4972 หลายเดือนก่อน
Extracting Emails with Power Query Using JavaScript and Regex in Web.Page Function
Extract Cities and Countries from Text in Power Query Using Python
มุมมอง 6222 หลายเดือนก่อน
Extract Cities and Countries from Text in Power Query Using Python
Mastering Table.Group in Power Query: Deep Dive into the 4th and 5th Arguments
มุมมอง 8232 หลายเดือนก่อน
Mastering Table.Group in Power Query: Deep Dive into the 4th and 5th Arguments
For-Next Loops in Power Query: Using List.Accumulate for repetitive transformation tasks
มุมมอง 4.4K2 หลายเดือนก่อน
For-Next Loops in Power Query: Using List.Accumulate for repetitive transformation tasks
Translate Texts In Power Query by Google Translate API
มุมมอง 6102 หลายเดือนก่อน
Translate Texts In Power Query by Google Translate API
I have learned something new from this video. Thanks for sharing
Highly valuable ❤
Hi there, very good content as alwals, dou you have a collection of your work available to downnload, all together?
This is awesome. Thank you for sharing your knowledge.
You are welcome
Great example for Split Column. Thank you, Omid!
You are welcome
I need to substract sum tax column from first row in amount and the remaining substract it from second row and when result become negative put value in amount column
Calculate the running total over the amount column and then use List.FirstN for subtracting
Thank you
You are welcome
Brilliant !
You are welcome
Thanks a lot, good and informative. I have a question though -- if one needs to do it on a large dataset, which option would give better performance -- large nested formula vs several simple steps? Thanks.
It's depend to the example but usually simple steps comes with better performance and to improve it Table.Buffer and List.Buffer are handy.
@@PowerMquery Thank you
Excellent solutions Omid. Very well explained. Thank you very much!
You are welcome
Great video!! Great solution!! Alternative: - since had no data , if "m", date vect and "p" products vector =LET(t,LEFT(UNIQUE(p&MONTH(m))),g,GROUPBY(t,t,COUNTA,,0),FILTER(g,TAKE(g,,-1)=12))
Greate
good and easy explanation, thanks
You are welcome!
Thank you
You're welcome
Excellent explanation, Omid. Thank you!!!
You are welcome
Translation not working with any way .. reason !!
Please share your M code here
Excellent solution. Thank you for sharing it, Omid.
@@IvanCortinas_ES you are welcome
Excellent 🎉🎉
Thanks
❤
@@fahadea1 You are welcome
Grar 💯👍
Welcome
💯👍
Welcome
Great Omid!!! 💯👍
Welcome
Find more solutions in Power Query, Excel, Python, and ...... here www.linkedin.com/feed/update/urn:li:activity:7173075223699812352/?updateEntityUrn=urn%3Ali%3Afs_updateV2%3A%28urn%3Ali%3Aactivity%3A7173075223699812352%2CFEED_DETAIL%2CEMPTY%2CDEFAULT%2Cfalse%29
Thank you
Great video, Great smart challenge, like always, Great PQ solution.✌ - lambda alternative for any index hierarchy HPIV(h,v) Hierarchy Pivot where h: hierarchy indexes vector ; v: values vector =LAMBDA(h,v,LET(l,LEN(h),c,MAX(l),x,SORT(FILTER(h,l=c)),HSTACK(x,XLOOKUP(--LEFT(x,SEQUENCE(,c)),h,v))))
I am happy you like it and thanks for sharing your solution
Thank you for your insights; they’re incredibly helpful! I tried finding the information you mentioned on LinkedIn, but I couldn’t locate it. If it’s easier, could you share the direct link here? That way, I won’t miss anything. Thanks so much for your help! 😊
Thankyou ❤
You are welcome
Great Solution! Below is my less advanced solution with Pivoted Columns, which I later filled down. To avoid hardcoded columns names {"Level 1", "Level 2", "Level 3"}, I extracted a list of all columns. let Source = Excel.CurrentWorkbook(){[Name="DataTable"]}[Content], #"Changed Type" = Table.TransformColumnTypes(Source,{{"Code", type text}}), #"Add Level" = Table.AddColumn(#"Changed Type", "Level", each "Level " & Text.From(Text.Length([Code]))), #"Pivoted Column" = Table.Pivot(#"Add Level", List.Distinct(#"Add Level"[Level]), "Level", "Description"), ColNames = List.Select(Table.ColumnNames(#"Pivoted Column"), each Text.Contains(_, "Level")), #"Filled Down" = Table.FillDown(#"Pivoted Column",ColNames), #"Filtered Rows" = Table.SelectRows(#"Filled Down", each (Text.Length([Code]) = 3)) in #"Filtered Rows"
Thanks for sharing your solution
It seems so easy with your demo ! Thanks a lot.
Power Query is so sweet and easy to follow.
Thank you for the great power query video.
You are welcome
@power-m-query: Your content is gold, but your speech is lacking. Is there any way you can use AI generated audio editing to clean and improve your voice? You would see different numbers in subscribers and views. (sorry, there is no private option in yt)
Thanks for the comment, I will try to improve it
thanks
Welcome
Link to the challenge file and other solutions on my LinkedIn page: www.linkedin.com/feed/update/urn:li:activity:7166573571031396352?updateEntityUrn=urn%3Ali%3Afs_updateV2%3A%28urn%3Ali%3Aactivity%3A7166573571031396352%2CFEED_DETAIL%2CEMPTY%2CDEFAULT%2Cfalse%29
Link to the challenge file and other solutions for this challenge: www.linkedin.com/posts/omid-motamedisedeh-74aba166_excelchallenge-powerquerychllenge-excel-activity-7160402770515128320-JLSU?
Perfect
You are welcome
Great video!! Great PQ solution!! For combinations without repetitions, (order not important) I always use the uniform distribution of random engine. A big enough random sample will hit all possible occurrences. CMB(n,c) : single formula lambda where n: number ; c: number chosen =LAMBDA(n,c,UNIQUE(SORT(MAP(SEQUENCE(20*COMBIN(n,c)),LAMBDA(x,TEXTJOIN(",",,SORT(TAKE(SORTBY(SEQUENCE(n),RANDARRAY(n)),c)))))))) Examples: =CMB(5,3) 1,2,3 1,2,4 1,2,5 1,3,4 1,3,5 1,4,5 2,3,4 2,3,5 2,4,5 3,4,5 The summing part is simple cosmetics. MAP(.....sum(index(v, textsplit... ✌
I am happy that you like it and thanks for sharing your amazing solutions
Sir, thanks for you video...could you please explain as how I can make possible combinations of 0331*******362...where * can be any number but interger should be fixed..... Appreciated your early response.. Please^3
You are welcome, if you means replace * with any number from 0 to 9, use the following formula. =List.Transform( List.Accumulate({0..6}, {""}, (a,b)=>List.TransformMany({0..9}, each a, (x,y)=>Text.From(x)&y)) , each "0331" &_ & "362")
Too hard to understand for me. ... Totally lost😢
No worries, initially see the following video then come back and see this one again th-cam.com/video/G8PRbWuDcmQ/w-d-xo.htmlsi=HDdPvyUg-fJrr1Ev
Thanks Omid for showing that new (to me) technique of using the last argument to get the number of columns needed! I used this just yesterday and I couldn't figure out why it's not splitting into the columns I want, so I gave up, but thanks to you again. 👍💯
You are welcome
Thank you. 🥰
Welcome
Another hidden gem. Thanks for sharing, Omid!
You are welcome
Super useful and never seen before. You're my super hero. Thanks a lot super Omid 🦸🏼♂️
Thanks for your kind words
Very useful, Thanks for the explanation
@@traoresouleymane1556 welcome
great as always
@@themolestones welcome
Thank you for the great power query video. I learn so much from the few vides you studied. Is it possible upload a file to follow along with?
@nsanch0181 You are welcome, sure I will share the files soon.
Thanks.
@@parisaemami745 You are welcome
Muy interesante Gracias por compartir
@@raulparra60 welcome
Super genius idea 😇
@@fahadea1 You are welcome
@@fahadea1 You are welcome
Amazing!!! What algorithm do you use for cluster classification (quartiles, percentiles, other...)? It would be nice to have something like this in Excel directly, without needing R. Thanks for the tutorial, Omid.
@IvanCortinas_ES at this example k-means which is based on Euclidean distance is used, but all the methods can be applied
🥰thankyou Omid
I didn't know you before... Why ??? You're a pure genius to make me understand the Magic of power query. Lots of thanks
@boissierepascal5755 No worries, I have just lunched this page and will share more every three days. To make practice, don't forget to follow me on LinkedIn and try to solve the challenges there.
Excel with Python! Have no idea about Python. Will try it later. Thank you Omid for introducing that idea. 🙏
Welcome