List.Accumulate Case Study in Power Query

  Рет қаралды 21,609

Goodly

Goodly

Күн бұрын

How to use List.Accumulate in Power Query / Power Query M Language
Tackle even the most challenging data-cleaning problems. Check out the M Language course and push beyond the user interface ↗ - rb.gy/a2zsnn
• List.Accumulate in Pow...
In this video, we will learn how to dynamically add multiple columns to our data using the List.Accumulate function. Often, we require adding columns to our data based on certain conditions, but manual addition can be time-consuming and non-flexible.
With the List.Accumulate function, we can make the column addition process dynamic, expanding the number of columns based on the conditions. By the end of this tutorial, you will have a clear understanding of how to create dynamic column addition using List.Accumulate in Power Query, making your data processing more efficient and adaptable.
#PowerQueryTutorial #mlanguage #datacleaning
===== ONLINE COURSES =====
✔️ Mastering DAX in Power BI -
goodly.co.in/learn-dax-powerbi/
✔️ Power Query Course-
goodly.co.in/learn-power-query/
✔️ Master Excel Step by Step-
goodly.co.in/learn-excel/
✔️ Business Intelligence Dashboards-
goodly.co.in/learn-excel-dash...
===== LINKS 🔗 =====
Blog 📰 - www.goodly.co.in/blog/
Corporate Training 👨‍🏫 - www.goodly.co.in/training/
Need my help on a Project 💻- www.goodly.co.in/consulting/
Download File ⬇️ - goodly.co.in/dynamic-column-c...
===== CONTACT 🌐 =====
Twitter - / chandeep2786
LinkedIn - / chandeepchhabra
Email - goodly.wordpress@gmail.com
===== WHO AM I? =====
A lot of people think that my name is Goodly, it's NOT ;)
My name is Chandeep. Goodly is my full-time venture where I share what I learn about Excel and Power BI.
Please browse around, you'd find a ton of interesting videos that I have created :) Cheers!

Пікірлер: 71
@GoodlyChandeep
@GoodlyChandeep 5 ай бұрын
Download the file ⬇ - goodly.co.in/dynamic-column-creation-power-query-list-accumulate List.Accumulate in Power Query with Practical Examples - kzfaq.info/get/bejne/iK-fZ7Kjtc_ck6M.htmlsi=VVxF51DSux0-3Wo4 Tackle even the most challenging data cleaning problems. Check out the M Language course and push beyond the user interface. ↗- rb.gy/a2zsnn
@user-lw1do6ds8d
@user-lw1do6ds8d 5 ай бұрын
= Table.Group(表,"列1",{"分组",each _},0,(x,y)=>Number.From( List.Sum(List.Range(表[列1],List.PositionOf(表[列1],x),List.PositionOf(表[列1],y)-List.PositionOf(表[列1],x))) >9) )
@user-lw1do6ds8d
@user-lw1do6ds8d 5 ай бұрын
find out the mistake,please
@Lyriks_
@Lyriks_ 4 ай бұрын
Every body is praising chandeep for it's excel skill (which he deserves), but i can't help to outline, the quality of the video production, it looks like hollywood for excel geeks 🤓 Good job man ! All the best for your course !
@vinhwizard
@vinhwizard 12 күн бұрын
Useful but difficult. I must see many times to understand. Thank you
@tremolony4924
@tremolony4924 5 ай бұрын
I love your videos bro. Most other people I see covering DAX or Power M have literally no idea what they are talking about. You are covering fundamental programming concepts & explaining them very well!!
@mnowako
@mnowako 5 ай бұрын
What a marvellous lesson! Thank you!
@spen2431
@spen2431 5 ай бұрын
Mind blown 🤯
@muhakbar4958
@muhakbar4958 Ай бұрын
This awesome function, I have make Crossjoin with multiple table using this
@justapasserby69420
@justapasserby69420 4 ай бұрын
Dude you just saved me a week's worth of back and forth
@MichaelBrown-lw9kz
@MichaelBrown-lw9kz Ай бұрын
Wow. Power Query is amazing for data prep. How did you know about that Record.Field function? I am now comfortable with the fact that I will never know everything about Power Query. I'll always be learning something new in it. Unbelievable lesson.
@SeyPras.
@SeyPras. Ай бұрын
Saw a video from a while back when he used another function. I think it was List.Last(_ etc.. and got the value field.. Found Record.Field much more easier to execute this..Chandeep keeps evolving 🔥
@SpokesAndWings
@SpokesAndWings 2 ай бұрын
Great video! Would have loved to find this a couple of weeks ago, but really glad to have the validation of the method! Great stuff in this channel!🎉
@raimundojs9547
@raimundojs9547 5 ай бұрын
Brilliant! Thank you so much for sharing!
@whizzohk
@whizzohk 5 ай бұрын
Fantastic topic clearly explained! Just the type of thing I've been trying to do lately, not having any hard-coded column names anywhere in my code.
@Maartenmarsje
@Maartenmarsje 5 ай бұрын
As always, I really like your videos. Thanks! In real life, I still prefer to use a DAX solution for solving this specific issue. The way I use List.Acumulate is to search a text column for a specific range of projectcodes. Problem stays that Text.Contains in combination with List.Acumulate is still a terrible slow solution. If you ever have a solution for searching a specific list of codes in a text column full of other text around the codes, let me know 😊.
@michaelmays9415
@michaelmays9415 5 ай бұрын
Is it slow because of List.Accumulate or Text.Contains?
@haihathanh5061
@haihathanh5061 3 ай бұрын
Your video is very helpful and understandable, you're a great tutor!
@ftmagicart
@ftmagicart 5 ай бұрын
Incredible demonstration Chandeep. Thank you very much.
@fidzanikilibe9066
@fidzanikilibe9066 4 ай бұрын
wow this is awesome,
@mdsaleem123
@mdsaleem123 5 ай бұрын
you are real champ. Much appreciate your way of explanation.
@Luciano_mp
@Luciano_mp 5 ай бұрын
Congratulations! Thank you.
@mightydrew1970
@mightydrew1970 5 ай бұрын
There are a lot of junk/useless tutorials on KZfaq at the moment... with terrible use-cases and examples. I'm a new subscriber because you are providing INCREDIBLE content and actually useful examples of how to get the most out of PowerQuery/M - fantastic, well done, well presented!
@emilmubarakshin49
@emilmubarakshin49 5 ай бұрын
Amazing lesson as usual!
@ourlittlesmarties1188
@ourlittlesmarties1188 5 ай бұрын
This is so cool, Chandeep. You are the best teacher as always, thank you.
@megabuilds3007
@megabuilds3007 5 ай бұрын
Fantastic and Highly helpful. Thank you.
@adrianoschwenkberg6773
@adrianoschwenkberg6773 5 ай бұрын
well done, Mr.
@baskis69
@baskis69 5 ай бұрын
Thank you very much for sharing ... this is super useful¡¡¡¡¡
@ExcelWithChris
@ExcelWithChris 5 ай бұрын
Yip is is AWESOME!!
@terrylee2094
@terrylee2094 5 ай бұрын
Amazing knowledge pal. Thanks for sharing
@KuldeepSingh-nq1vi
@KuldeepSingh-nq1vi 5 ай бұрын
You are awesome Bro.. 🎉🎉🎉
@joselencinamalgor6548
@joselencinamalgor6548 5 ай бұрын
Wow. Very useful!
@lillibrica4824
@lillibrica4824 5 ай бұрын
Vers helpful!
@willgsil
@willgsil 4 ай бұрын
Absolute cinema!
@Harish.Prasad.Semwal
@Harish.Prasad.Semwal 5 ай бұрын
🙂Thnak you Chandeep Paaji for teaching us interesting topic
@juancarlosleytonfernandez9146
@juancarlosleytonfernandez9146 5 ай бұрын
amazing!
@jkumar8590
@jkumar8590 5 ай бұрын
High speed lecture!
@Nalaka-Wanniarachchi
@Nalaka-Wanniarachchi 5 ай бұрын
Super Awesome !!!
@patrickharilantoraherinjat2994
@patrickharilantoraherinjat2994 5 ай бұрын
Great video bro!
@Bhavik_Khatri
@Bhavik_Khatri 5 ай бұрын
Very nice tutorial
@bulbulahmed3098
@bulbulahmed3098 5 ай бұрын
Great
@krisssh0097
@krisssh0097 5 ай бұрын
Awesome 👍
@xcorect
@xcorect 5 ай бұрын
Awesome
@rrrraaaacccc80
@rrrraaaacccc80 5 ай бұрын
Great 💯👍
@isidreb
@isidreb 5 ай бұрын
Thanks. 3 "accumulated" times awesome
@danishnawaz3651
@danishnawaz3651 5 ай бұрын
Awsom Sir, Kindly make a video for below. If we have nested Table in a single column (while Grouping) and each Table has multiple column inside it. like as below. 1 Table has 10 column 2 Table has 12 column 3 Table has 8 column Then how can we make equal all number of column for All Tables. (Like 12 column for each table by inserting new null column).
@GoodlyChandeep
@GoodlyChandeep 5 ай бұрын
Use table.combine
@user-yo2nb4ry7i
@user-yo2nb4ry7i 2 ай бұрын
Спасибо за видео. Хороший кейс. Чего, отопление вырубили?
@Rice0987
@Rice0987 5 ай бұрын
I think now you can make tutorials about video fx.😊
@williamarthur4801
@williamarthur4801 5 ай бұрын
I think you really like List.Accer, as do I, also anything to do with records is really useful, BTW, i don't know if you saw message re dynamic data types and this construction, Value.ReplaceType( Table_non_correctTypes, Value.Type( DataTypes) ) Where DataTypes is a table or previous step with the correct types, still not sur how it works.
@basvanderlaan7568
@basvanderlaan7568 3 ай бұрын
This is so awesome. But how would you go about if you want to subtract the new column from the previous column? For example; instead of COGS, HR, etc. you have: balance jan, balance feb, balance march, etc and you want to calculate the change that happened within each month?
@thebhaskarjoshi
@thebhaskarjoshi 5 ай бұрын
Just revised List.Accumulate Function through a new case study.
@BeHappii2
@BeHappii2 5 ай бұрын
I have an inquiry regarding setting up a logic in Power BI that allows users to select colours based on Excel input data, affecting the colour of column headers in a dynamic fashion. The idea is for the system to recognise numerical inputs - with '1' representing green, '2' signifying blue, and '3' indicating red - and to modify the column header colour accordingly. The dataset is updated on a monthly basis, which calls for a logic where changes made in Excel are seamlessly integrated and mirrored in Power BI. My focus is solely on columns, as my column tables don't include rows. Despite the unique nature of this user requirement, which has kept me puzzled for nearly a week, I'm reaching out to see if you could provide guidance or solution. Thanks
@shreyansjain9276
@shreyansjain9276 5 ай бұрын
Hi Chandeep. By any chance if you can reply if there is a way through which I can dynamicallh make sure to get latest 2 year of data in Incremental Refresh... In short how to make the parameters dynamic In power Query?
@davejl8982
@davejl8982 5 ай бұрын
Hi Chandeep, great video. One question though..for this to take into effect in pbi (dynamic column addition), this would require a schema update which could only be achieved by having the refresh done on pbi desktop rite? It will not work when we are doing the refresh via pbi online, rite?
@bob-tina
@bob-tina 5 ай бұрын
Goede uitleg hoor! Ik ben hier wel eens mee bezig geweest en wilde verschillende datatypes toe te voegen. Maar dat is me niet gelukt. Heb je daar misschien een suggestie voor?
@JCC.M.
@JCC.M. 5 ай бұрын
Chandeep, using this could you insert a column directly into the excel table and expect it to work, or would you have to add the column in Power Query?
@SriramM289
@SriramM289 5 ай бұрын
Hi Chandeep. I have a column having 4 different values. I would like to replace any of the 4 different values with a value "FAST". Can you please suggest the best solution in power query?
@RobertoStaltari
@RobertoStaltari 5 ай бұрын
Debugging this code using function, along with List.Generate, can be a real challenge without a proper code editor and dubegguer. Unfortunately, it seems Microsoft isn't paying attention to the frustrations of M coders.
@mienzillaz
@mienzillaz 5 ай бұрын
I knew it and i was using it, but in my case a was passing separate instructions to each column. Unfortunately i had to hardcode it, as i have no clue how to pass dynamically these instructions..
@dacsontran5813
@dacsontran5813 Ай бұрын
Can i use that method to insert multiple rows using Table.InsertRows?!
@Excelvenky
@Excelvenky 4 ай бұрын
Great Video... can i set the number formats dynamically using mcode..instance, used percent.type in video, got the percent but not the % symbol with it...should i need to concatenate with this.. thanks in advance your guidance
@GoodlyChandeep
@GoodlyChandeep 4 ай бұрын
Percentage doesn't apply in PQ. I think it is a bug.
@JJ_TheGreat
@JJ_TheGreat 5 ай бұрын
7:10 But what if more columns are added to the front - meaning that the number of columns which you have to skip would change?
@tob-robt
@tob-robt 5 ай бұрын
Hello, thank you very much for your videos, they are very interesting. I've been trying to search your channel for something that helps me calculate what I'm trying to calculate for days. In my case I have something like this, in the same column: Row A1 = (POWER(1+Forward_Speed,-1)) Row A2 = A1 * (POWER(1+Forward_Speed,-1)) Row A3 = A2 * (POWER(1+Forward_Speed,-1)) Row A4 = A3 * (POWER(1+Forward_Speed,-1)) …and so on in the same column that has 930 records. I've been trying to replicate this in Power BI for days, creating several variables, making conditionals with them, etc., but I'm not able to reach the same result that I calculated by doing this in Excel. Do you have a video that can explain more or less what I'm trying to do? Or could you make one that shows how to do it? Thank you so much
@oscararmandocisnerosruvalc8503
@oscararmandocisnerosruvalc8503 5 ай бұрын
What is the a for if we are only using current ??
@garylhaas2005
@garylhaas2005 5 ай бұрын
List.Accumulate confuses me - but this example is close to turning on the light bulb for me
@jafarhussain6606
@jafarhussain6606 5 ай бұрын
1. Can we execute such scenario using DAX? 2. Can you please use inventory projection or rolling forward scenario either in DAX or M code? No one explaining such real world problems.
@johanwillemsen790
@johanwillemsen790 4 ай бұрын
Briljant
@macbelwoldie6201
@macbelwoldie6201 4 ай бұрын
What if the DummyExpense column had a list of numbers like 20, 46, 54 etc, You just assumed all the values were 20 😅
@nariroeplal1553
@nariroeplal1553 5 ай бұрын
Well explained but way too complex for me to understand or grasp it😪🥲
Dynamically Re-Order Columns in Power Query
7:57
Goodly
Рет қаралды 14 М.
List.Accumulate in Power Query with Practical Examples
27:26
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 70 МЛН
Каха и суп
00:39
К-Media
Рет қаралды 6 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 77 МЛН
5 Tricks to Reduce Steps in Power Query
16:41
Goodly
Рет қаралды 33 М.
each & underscore_  in Power Query Explained
9:58
Goodly
Рет қаралды 45 М.
Power Query Продвинутый №25. Функция List.Accumulate
33:32
Товарищ Excel - Power Query, Power Pivot, Python
Рет қаралды 7 М.
User Controlled Column Selection in Power Query
10:55
Goodly
Рет қаралды 15 М.
I Bet You Don't Know All These Power Query Tricks
12:28
Goodly
Рет қаралды 37 М.
The Magic of working with Records in Power Query
10:28
Goodly
Рет қаралды 36 М.
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 384 М.
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1,8 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 8 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 680 М.
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,3 МЛН