List.Accumulate in Power Query with Practical Examples
Vložit
- čas přidán 10. 07. 2024
- Check out our newly launched M Language course ↗️ - goodly.co.in/learn-m-powerquery/
All Answers - goodly.co.in/create-dynamic-c...
Download file - goodly.co.in/wp-content/uploa...
===== 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/
===== CONTACT 🌐 =====
Twitter - / chandeep2786
LinkedIn - / chandeepchhabra
Email - goodly.wordpress@gmail.com
===== CHAPTERS =====
0:00 Intro
0:40 Understanding the Syntax of List.Accumulate
4:42 Simple Example
9:39 Complicated Example
13:11 Solution to Power Query Challange
25:58 Shoutout!
===== 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!
- - - - -
Music By: "After The Fall"
Track Name: "Tears Of Gaia"
Published by: Chill Out Records
- Source: goo.gl/fh3rEJ
Official After The Fall CZcams Channel Below
czcams.com/channels/GQE.html...
License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Full license here: creativecommons.org/licenses - Věda a technologie
Check out our newly launched M Language course ↗ - goodly.co.in/learn-m-powerquery/
Chandeep, You are true rockstar. I feel blessed that I found your channel on youtube.. Keep rocking... 😊
As an accountant I love that you used “closing balance” in your example.
ALSO, it would not be a Goodly video without “Please take a look”! That phrase always makes me smile.
*I am pleased that you took a look* 😉
Sometimes i hate you cos you make power query look so easy and sometimes i love you because you make power query so much easier. Great job sir.
holy moly, I am blessed to have found you. Severely underrated channel.
Thanks man! Glad to find you also 💚
Wonderful. You opened the way of looping in PQ.
I think the list need to be wrapped in List. Distinct to get unique values for trainings
Yes correct I missed that in the video😬
Genesis! The method used to create multiple columns within a table is brilliant! Thanks for taking the time to share your knowledge 👏
dear chandeep, your way of explaining the issues is so clear, makes me think that pq is no more a nightmare. thank you…
You are an EXCELLENT teacher, Chandeep! 😊 Thank you for making this video and making it freely available.
The Example „closing Balance“ was fantastic. It gave me so much opportunities for use this „List.accumulate“ Thank you so much. You lift my Powerquery-using-possibilties to another Dimension. Thank you so much. Really excellent and out-Standings Content you offer
Wonderful!
In this last exercise, when you create new columns, you could simply do TextContains(Training, TrainingName), and save yourself splitting, and then couple of iterations
Thank you for the comment. I tried your idea and the code became too small compared to what Chandeep taught in the video.
let
Source = Excel.CurrentWorkbook(){[Name="Table2"]}[Content],
Result = List.Accumulate(TL, Source, (s,c) => Table.AddColumn(s,c, each Text.Contains([Training], c)))
in
Result
Moreover, I took another precaution on the TainingList side and used the List.Distinct to remove duplication in the header names.
You are a great trainer!! Thank you for this easy to follow tutorial!❤❤❤❤❤
Fantastic example, and very advanced! If I were to provide "critical feedback" to get you from a Gold Star to a Platinum Star, on par with Alberto Ferrari et all, it would be to spell out some of the "sometimes' hastily given, "end of sentence" explanations. I think you did it once or twice. Otherwise, I love your channel, and I love the ideas that you come up with. Great work!
this is awesome, i love it, used it already a couple of times, but where i think can be used but haven't been able to is if i want to split into separate columns multiple dynamically, i have many data sets where the desired output would be a "main column" to their "related value", lets say for simplicity you have 4 columns, the "main column" where you have distinct values {lenght, depth, width} but they are not unique values; the next columns would be "mm.1" for the first value in mm, "mm.2" for the second value in mm, "mm.3" for the third value in mm, etc and the same thing for "in" and "ft", the table originally starts as "main column", "mm", "in", "ft". what i do normally is i group by the first column, the "main column" and then manually split the other columns into different columns, getting the desired output. now in my data its normally around the 15 columns ("mm", "in", "ft", "gauss", etc) and to do 15 times that is quite an issue. what this video gave me the idea was to have as seed the grouped table, and from there start to split. up till the present i haven't been able to make it work using the ideas of this video, anything i might be missing? thank you if you read this far and are willing to help btw
Thank you! You've been the first one to teach this particular function with clear explanations. You have no idea how helpful your videos are.
You have no idea how much your comment means to me :)
Thank you so much for sharing! Your approach through this powerful and complex function was extremely helpful and educational. I really appreciate that you started with the basics and then proceeded into a "real world" example. I learned a lot! 💓
Glad it was helpful !
this concept was really tough but the way you explained made it very very easy. Thanks a lot
Magnificent!!!
I just don't know what is more magnificent, if the function, or your way of explaining it!
The way you explain is a gift.
Really Glad ! Thanks João!
Not just "absolutely gorgeous" but as well absolutely awesome! It took me quite a well to get a grip on this powerful PQ function (and still not mastered even) but your logical step by step approach makes it so easy. Thanks, Chandeep. I will definitely over my application but this time with an enlightened insight from goodly! 😀
Glad you enjoyed it Bare!
Love this. Great example. It's one of those functions that I find hard to grasp what I can do with it. I now understand it's a lot more then I imagined.
Cool!
Looking forward to watching this, I've used it to create running totals but never really understood quite how it works.. I may have questions.. Enjoyed Promoting two rows to Headers, TableInsertRows could do with it's own show.
Richard.
This is insane! 🙌🏻🙌🏻 You are a god ! Thank you so much.
Thank you so much Goodly for this masterpiece 😊
Clear and thorough teaching. You're an excellent tutor. Thank YOU.
You're very welcome!
Thank you for lesson! Marvelous!
Thanks your Tutorial Power Query
Special thanks for sample file
I Can step by step with sample file
thanks very much
Hi Chandeep, after weeks of trying I finally understand List.Accumulate! Thank you so much. The clarity of your List.Accumulate explanations is amazing.
Glad it was helpful 💚
🤯 I feel so powerful now with List.Accumulate in my toolbox! Thank you, Chandeep! 👏
Awesome! 😁
Absolutely amazing! Believe me this is the single video available on internet which has explained the List.Accumulate so easily and perfectly that only this lecture is sufficient to watch for complete understanding for this difficult function. Well Done!
Wow, thank you!
Hi Chandeep - brilliant as usual! Very much like the graduated approach - makes it very easy to understand the complex examples. I can see many potential applications in our current portfolio... Thanks again!
Glad you liked it!
I learnt a lot from you. Thank you Chandeep!
Thank you! Brilliant and useful as usual!
Nothing else than 😄 really usefull and well explained
One detail a List.Distinct will avoid errors when a training has been done by multiple persons
You are a very good teacher. Thank you very much for explaining complex things in a simple way.
Glad you think so!
so great tutorial!! Thank you so much!
Thank you for the great explanations.
Have seen many videos on list.accumulate. But none as clearly defined by you. Brilliant 👍🙂
Thanks Sumanth! Glad you liked it :)
Thanks for video, Chandeep 🙂
I am impressed by the clarity of the explanation of difficult parts of the issue 👍
Hi Bill. I am honoured to have you here.
thank you!
This is genius. Couldn't find anything like this in any textbook.
Brilliant! Nicely done, Chandeep. Very well explained. I'm sure I'll find use for this immediately. Thank you very much.
Sure! Glad you like it
Thanks Chandeep :)
I just added a List.Sort on AllTrainings list to order the courses alphabetically, easier to read :)
Really a great tutorial ! Thank you so much ! I’ m sure I will use in my job.
Sure man!
Awesome examples. You are now a go to person for me to help solve problems!
Glad to help!
Absolutely amazing !!!!!
Amazing. Brilliant stuff! Will take me a few watches to learn for sure!
Thanks Kim!
So helpful ^^, thank you 🙏.
I watched this video again. Chandeep is that dude. My goodness he has a talent for providing instruction.
Thanks a Lot sir
I will try to used in Financial Area I need it
Fantastic! Thanks a lot!
Wowww. Thanks for the explanation.
Thanks! Great stuff. Demystifying Power Query. Keep up the amazing work.
Woah.. Thanks Man! 🙏
AWESOME! Thanks!
Closing Balance is a great sample!
Glad you like it!
Hey Chandeep, great video and very well-explained as well, helped to understand "(a,b) => function" in power query. Would it be possible to simply use Text.Contains() when decinding for True/False? (Did not go through all the comments, maybe I missed this question). Great job!
Great teacher...takes time to break things down.
💚
I’ve watched several tutorials on List.Accumulate. This is the best by far. Thank you, Chandeep.
Glad it helped 💚
What an amazing video. Hats off! Thanks a lot!
Glad you like it!
Great Goodly!!, Made simple to under List.Accumulate,
Thanks!
Thanks.i thought i need watch your video more :)
Absolutely is brilliant 👏. Best way to show the matrix .
Thank You !
Your way of explaining this list.accumulate is simply awesome. This is very powerful function!!
Thanks for the efforts you had put in here.
Glad you like this A!
You are Amazing
You're a really really great tutor!!!
Thank you!
Just WOW!!!! :D Thanks a lot!!!
Aweshome!!! Amazing!!
Your explanation is wonderful one can easily understand even Complex formula
Thanks 💚
WOW Chandeep, Excelente! lo haces ver tan sencillo! me gustaría ver las otras diferentes soluciones que comentabas al principio del video. Un cordial saludo!
Gracias!
Totally enjoyable, thank you Chandeep. Also using the Closing Balance analogy really helped with the explanation.😊
Thanks Susan. Glad you enjoyed it :)
I’m going to have to watch this a few times!! Nice work Chandeep!!
Thank You Martin!
You sir are a phenomenal instructor.
Thanks Michael!
the quality of these videos are mind blowing.
Glad you think so!
Love it love it love it... great job..
Thanks 💚
thank you Chandeep i m grateful
You're most welcome
great sir learned a lot .I working on weighted average cost .I think this will solve my problem.
Awesome thanks
You really really really knock it out chandeep.
Thanks! 💚
Thanks for video, Chandeep 🙂amazing content as always
Glad you like this 💚
Thanks , Loved It !
💚
Awesome!
Amazing function and fantastic explanation
Glad you liked it!
Just wow ..
Oh man nice one again. 👍
Thanks Man!
This is incredibly well explained. Thank you very much for. Is it possible to reflect a date (for example, when the training was completed) as a value instead of True or false? 25:58 Best regards Kjeld
Another Great Video!!
Glad you like it!
this is like the reduce() function on JavaScript. Interesting how this also uses arrow functions like the latest JS
Brilliant, thanks bro
💚
Great video, it has helped me a lot, but I wonder, if I have in my dataset many of these columns that I have to map, would I have to make a table duplicating the original? it will not be heavy for powerbi
Beautiful!
Thank you!
Hi Chandeep, in the beginning of the video, you had mentioned that you'd cover an alternative solution too... Looks like you missed it... :)
Yeah.. the video went a bit too long so had to prune it.
Hey - Excel Is Fun children keep the father's level and extract Power (Query) of current XL tools. Keep it goin PQ.
Very well explained
Glad you liked it!
Amazingggggg... thanks for sharing
pleasure 😊
Absolutely Gorgeous !!!
Great 👍!!!
Thanks!
Finished watching
Excellent 💯👍👏
Thank you !
Great vid! Hey is there a similar function for lists going horizontal (so for a (part of) rows)?
You explain things so well
Thank You !
@@GoodlyChandeep would it be possible for me to ask you a question concerning a case using list.accumulate?
fantastic
Sempre TOP! #powerbinareal
Thanks!
I always watch this video. In your original table no two people take the same training class. For instance, Rechet takes Power Query and Excel, but no other individual takes these two trainings; so when you create a list of all the training classes from the Training field you have a list of unique training classes. However if for example CJ trained in Trading and Excel then your list would have two instances of Excel. When this happens how do you get your list to have distinct values? In other words, how do you remove duplicates from a list?
Nice Content really, Can we calculate Running Total with List.Accumulate function?