
Power query m code part four introduces list.generate, detailing its initialize, condition, and next parameters, and demonstrates generating sequences from one to ten.
Learn to generate lists in reverse order using List.Generate in PowerQuery M, starting at 100 and decrementing by 1, with examples like 199, 98, 97, and conditions around 50.
Learn how to use two variables in PowerQuery's List.Generate by initializing X and Y with square brackets, setting conditional criteria, and updating both variables with custom increments.
Learn to build a PowerQuery M function with three inputs that increment x, y, and z at each step while x plus y stays under 50, with optional fourth parameter.
Explore the optional parameter in Power Query M's list.generate and how the fourth parameter affects final values, using selector and each with practical Excel-like examples.
Explore how to use the list.generate function in Power Query M language to replace text with text.replace, manage initial values and counters, and retrieve results with list.last.
Explore the fundamentals of Power Query M code by building a list-driven replace loop that updates a string using an initial value, counter, and previous-step memory.
Explore replacing all values in a Power Query M table by looping through a replacement list, using to_replace and replace_with with a counter for multiple substitutions.
Learn how to convert a power query code block into a reusable function, enabling dynamic, multi-value replacements from a table and invoking the function for successive inputs.
PowerQuery m code language part4 shows turning table comments into dynamic inputs via a custom column and prefix function, yielding a single value.
Investigate replacing words in PowerQuery M code language by ensuring space handling and whole-word matches, addressing single-word cases and back to back lectures with Excel-assisted techniques.
Learn to use the Power Query table sort function in M code to extract top three quantities per reporter, explore sorting by quantity or reporter, and fix common syntax issues.
continue the powerquery m project by grouping reporters, summing total quantities, and selecting the top three partners per reporter using table and sort functions.
Learn to use table.select columns to extract ear, reporter, partner, and quantity, then apply top rows to fetch the top three by quantity, preparing data for pivot or normal table.
Learn to join pairs of table fields in Power Query M code, using text.combine with separators, handling numbers, and avoiding manual ribbon merges for scalable concatenation.
Learn to build a reusable Power Query M function with two parameters to concatenate column pairs in the same table, convert numeric fields to text, and customize delimiters.
Learn how to concatenate column pairs in Power Query M code using list generate and list zip, and explore when to use M code versus the built-in feature.
Convert each table column into a list with table to column, then use list zip to concatenate corresponding indexes into pairs. Use list generate to process rows in PowerQuery M.
Learn to add a column that concatenates value pairs in Power Query M by converting lists to tables, using a custom column and text.combine, and generating index-driven loops with list.generate.
Explore making PowerQuery M code dynamic and robust. Transform data into tables, extract custom fields, and use lists, table from columns, and indexing to align rows.
Please note that if you have seen previous Parts of M code series then only it will be a fun and clarity. This part 4 is not for beginers . If you know how to use lists, functions and how to write syntax in m code, pls go ahead and take this course.
M code Part4 is talking about List.genrate function and how to use it as a function in real life plus other functions also in focuss.
Introducing the list generate function in M code.
What is a list generate function and how its parameters work
What is the initial parameter, what is the conditional parameter and execution parameter?
How to use list generate function using two variables or even more than two variables and how to know the number of variables we have to use.
We have started from a beginning and have tried to explain the Concept of this function is clear step by step.
There is a 4th hidden parameter which students never see and infact , even they know they don't know how to use it and what is the use of same.
What is the role of an optional parameter in list generate function and how does it work.
How to know where do we use square brackets , commas especially in a code where it is using data.
How to convert list generate into a function which takes inputs and then connect it with the real data
Table sort function in real data
Table select column function
Table select rows function
How to combine two columns in a sequence using Mcode interface.
How to approach a problem - with function and without function - which one is better