Advanced Grouping Tricks In Power Query

  Рет қаралды 15,545

Goodly

Goodly

26 күн бұрын

In this video, we will learn Advanced Grouping Tricks in Power Query. If you've ever used the grouping option in the transform tab of Power Query, you know the basics. But in this tutorial, we take it a step further and reveal some mind-blowing tricks that will enhance your data manipulation skills.
===== ONLINE COURSES =====
✔️ Master 'M' in Power Query -
goodly.co.in/learn-m-powerquery/
✔️ 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/advanced-groupin...
===== 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'll find a ton of interesting videos that I have created :) Cheers!

Пікірлер: 75
@GoodlyChandeep
@GoodlyChandeep 25 күн бұрын
⬇ Download the file - goodly.co.in/advanced-grouping-tricks-power-query 📊 Tackle even the most challenging data-cleaning problems. Check out the M Language course and learn to push beyond the user interface - goodly.co.in/learn-m-powerquery/
@ajinkyashinde1778
@ajinkyashinde1778 24 күн бұрын
You are the boss of power query transformation 💪 ❤️❤️
@alexbarbucristi
@alexbarbucristi 24 күн бұрын
The first time that I can say "I already knew all" Thank you so much for all your videos, you are the best at Power Query. The only thing I would do differently is for the last trick I would create 2 columns one with minimum date and one with maximum date and then extract the days to ensure I capture the exact period.
@anillpatel
@anillpatel 10 күн бұрын
Excellent Presentation. Very useful Grouping techniques.
@captvo
@captvo 13 күн бұрын
Amazing and productive tricks! Thank you!
@BicycleFriends
@BicycleFriends 25 күн бұрын
I love the "Grouped Rows" and Totals example.
@Hello-bn2yc
@Hello-bn2yc 24 күн бұрын
Man you are just Blessed by God in Power Query...
@sumardjo
@sumardjo 13 күн бұрын
thanks for your knowledge and special thanks for simple file I try to step by step the youtube video thanks very much
@oscarmendez-roca9181
@oscarmendez-roca9181 18 күн бұрын
Great and very useful set of tricks, thanks a lot Chandeep!
@user-ef4oc3vc6r
@user-ef4oc3vc6r 24 күн бұрын
Thank you very much. You are very cool!
@user-qt7pj8rk4w
@user-qt7pj8rk4w 24 күн бұрын
감사합니다. 한국에서~ (Thank you in Korea)
@maciejkaron7479
@maciejkaron7479 24 күн бұрын
This concatenation example is mind blowing for me. I will definetely use it in my future projects. Great video!
@whizzohk
@whizzohk 24 күн бұрын
You're right my friend, that is pretty damn awesome. And simple when you explain it too! Well done and thank you.
@chiragdabhi4929
@chiragdabhi4929 22 күн бұрын
First one is what I'm actually looking for !!
@jimgleason4040
@jimgleason4040 24 күн бұрын
Chandeep, you are absolutely the best. These are brilliant tricks.
@dharmmu
@dharmmu 24 күн бұрын
You are just playing with power query like a pro kid.....👍
@user-lk2uv5yo9r
@user-lk2uv5yo9r 24 күн бұрын
Great, thank you Chandeep. Could you please make a video about "Query folding", especially how to overcome transformations that break the folding. One example is next video "Getting Crazy with the Power Query UI" from Guy in a Cube. But they are using UI in Power BI Service. In Desktop you have to use M code. I think tricks with Lists usage will be very interesting.
@tmb8807
@tmb8807 18 күн бұрын
Cool. Presumably the last one is dependent on sort order before you apply the grouping?
@salahaldeen7924
@salahaldeen7924 24 күн бұрын
love it, I tried it in google sheets query(HSTACK(filter(QUERY(A2:D,"select Col1, Col3, sum(Col4) group by Col1,Col3"),choosecols(QUERY(A2:D,"select Col1, Col3, sum(Col4) group by Col1,Col3"),1)""),byrow(ArrayFormula(byrow(UNIQUE(TOCOL(A2:A&C2:C)),LAMBDA(key,key))),LAMBDA(key,textjoin(", ",true,unique(filter(B2:B,A2:A&C2:C=key)))))),"select * label Col1 'Year', Col2 'Co. Name',Col3 'Sales total', Col4 'Sales person'")
@shubhabratadey
@shubhabratadey 24 күн бұрын
You are a weird GENIUS who keeps us amazing in every videos...😄 Please keep on sharing such Learnings
@lar5091
@lar5091 19 күн бұрын
All are Awesome.. Thanks for sharing
@shri_420
@shri_420 15 күн бұрын
Thank you ❤
@vinothkumarmanoharan2317
@vinothkumarmanoharan2317 24 күн бұрын
Awesome one
@hilaryb4842
@hilaryb4842 24 күн бұрын
You’re the only one who explains M code in a way I can understand it and I desperately needed this video last week, my guy lol. I had to do grouped running totals and everyone else does it by using a custom function. I attempted the custom function until I felt like my brain was melting but I finally got it to work. Seeing your last solution, which was exactly what I needed, is so simple I could cry 😂 For a spreadsheet that uses sources with 100,000+ rows, is this way more efficient than the custom function?
@odallamico
@odallamico 23 күн бұрын
Hey Mr. Extremely amazing tricks in PQ
@itikshamittal
@itikshamittal 23 күн бұрын
I liked the first one 😊
@IvanCortinas_ES
@IvanCortinas_ES 24 күн бұрын
Terribly amazing. Thank you Chandeep!
@eslamfahmy87
@eslamfahmy87 24 күн бұрын
Perfect goodly as usual but i think we can use Table.Column functuin to get the concatenated result in Exp1, in the meatime ur solution is the best 😊
@SndfOmar
@SndfOmar 24 күн бұрын
Awesome tricks! All of them are mind-blowing and new to me. Thanks a lot for your fantastic tutorials.
@rosicalp
@rosicalp 24 күн бұрын
Awesome and helpful as usual ! Thanks a lot! I'm already planning to do some optimizations with the append trick.
@alexrosen8762
@alexrosen8762 25 күн бұрын
Super super useful tutorial. Thanks a lot
@chrism9037
@chrism9037 24 күн бұрын
Awesome Chandeep!!
@shashipaul6279
@shashipaul6279 24 күн бұрын
So awesome.... I'm going to use 1st n 3rd ....
@sybarix
@sybarix 24 күн бұрын
Thanks bro, always learning something from you
@sabbasachisaha4422
@sabbasachisaha4422 24 күн бұрын
All three are mind-blowing
@karimallahwala7022
@karimallahwala7022 24 күн бұрын
Great content and very helpful. I can‘t choose the Most helpful one. They are all very very good.Thank you so much
@dilipinamdar5523
@dilipinamdar5523 24 күн бұрын
Nice Thank You🙏
@sarveshdeshpande1772
@sarveshdeshpande1772 25 күн бұрын
I am speechless to what i saw …. Group kind local was mind blowing 😮 I recently worked on one such scenario , i wish this video should have came up earlier. But no worries thanks Chandeep for this wonderful trick and i will correct my data logic now and make it bit simple ❤
@carlosdias9718
@carlosdias9718 23 күн бұрын
Thanks for the video. Blown away since i always assumed Powerquery was linear and sequencial, suddenly seeing you calling early steps blew my mind. Also the flexibility of the group by is quite amazing, i was not aware. Super useful stuff to use on Dataflows.
@priyeshsanghvi8424
@priyeshsanghvi8424 16 күн бұрын
I would appreciate if you can please give an example or some pointer for it ?
@williamthedataprof
@williamthedataprof 12 күн бұрын
pretty damn awesome indeed 🙂
@raitup00
@raitup00 22 күн бұрын
The 1st trick I used it a LOT
@sanju4295
@sanju4295 24 күн бұрын
Thanks alot for the video ❤️ I have a doubt for example i have a data of 30 employees for the last month and i need to add a target but the condition is if the employee has taken 2 leaves then the target will be 0 for those 2 leaves and if employee takes more than 2 leaves then the target for 3rd,4th leave and so on will be 100. Leaves can be either CL or EL. Is it possible using power query?
@ajieapen
@ajieapen 25 күн бұрын
The last one is quite similar to the problem that we worked together a couple of years ago... :)
@laionegan
@laionegan 24 күн бұрын
I have asked on the pbi forum without response ,how to make a distinct count of a specific column using and modifing the group by on power query? I need also folding on db .is it possible? Thanks anyway you are a very good PQ teacher
@datawizibility
@datawizibility 24 күн бұрын
Great Video as usual from you dear Chandeep ♥....we could have date range and period as output for the last trick. Branch manager from so to so date and period 💡
@GoodlyChandeep
@GoodlyChandeep 24 күн бұрын
Yes we can, we'll have to modify the MCode slightly for extracting the date range.
@fzm280579
@fzm280579 24 күн бұрын
Is it possible to sort the text.combine from the first example? Ascending or by another list?
@alexbarbucristi
@alexbarbucristi 24 күн бұрын
Yes, use Text.Combine(List.Sort(List.Distinct([Column Name])), ", ") for ascending and Text.Combine(List.Sort(List.Distinct([Column Name]), Order.Descending), ", ") for descending. It would be interesting to know if one can sort a column by a list. I know it allows reordering columns by a list so... probably someone like Goodly can definitely achieve the sorting too.
@fzm280579
@fzm280579 24 күн бұрын
@@alexbarbucristi that's nice. I will try this! I want to order by department names by priority, at first I can add a number in front of the name. Thank you so much!
@aparnapandravada5073
@aparnapandravada5073 24 күн бұрын
It looks too much tough for me to remember this 😮
@sujithkamath
@sujithkamath 24 күн бұрын
why is it not a good idea to have totals and subtotals in power query? i have heard this from many but never appreciated the reason. There are situations where i would need to have subtotals by say region of north , south, etc. in your examples which would work great if i use group and append in PQ itself. Thank you Chandeep as always, you are amazing.
@GoodlyChandeep
@GoodlyChandeep 24 күн бұрын
Because you can always use the SUM function to create a total. Power Query is for preparing data and not the output.
@sujithkamath
@sujithkamath 23 күн бұрын
@@GoodlyChandeep thank you chandeep. I had been able to use PQ to create output reports with conditional formatting to look better than a simple output table. In those cases these totals and specially subtotals showing randomly in between rows depending on data, works amazing. I get your point though in general, totals should be avoided 👍👍
@TheAlwaysGoel
@TheAlwaysGoel 21 күн бұрын
Can I combine numberic. Values
@brij26579
@brij26579 21 күн бұрын
🤟 Rocks 🤟
@JorgePerez-bu4ph
@JorgePerez-bu4ph 24 күн бұрын
Thanks Goody! Very helpful. Silly question: Is there any way to add a related column from another table in Power Query M? I said it is a silly question because I know it can be achieved in DAX, but I have no idea if that can be done in Power Query. I have Table1 and Table2 both with a common Column [A] I need to copy column [B] from Table2 to Table1... can be done in M?
@alexbarbucristi
@alexbarbucristi 24 күн бұрын
Merge Query does this. Is on the Hime tab on the menu ribbon. Explore the 6 kinds of Join it offers.
@JorgePerez-bu4ph
@JorgePerez-bu4ph 24 күн бұрын
@@alexbarbucristi I have been using Power BI for two years and I did not know that option existed. I tried it and it worked perfectly. Power BI is full of surprises 🙂 Thank you!
@shwetkumar1719
@shwetkumar1719 24 күн бұрын
Hello sir, I have start date and end date how to get week and month from it and how can I show it on report for week
@darwinmercado7943
@darwinmercado7943 24 күн бұрын
Hi Goodly , How about grouping by year and put a subtotal of each group year for Sales and Profit skip or blank row after the subtotal then Total at the end. how can be done on your video Thanks
@romulusmilea2747
@romulusmilea2747 24 күн бұрын
His name is Chandeep, not Goodly !
@prabhuji3337
@prabhuji3337 24 күн бұрын
Take a bow!
@avijitaich787
@avijitaich787 16 күн бұрын
No words. But being selfish needs help. Having a problem with find and concatenation
@fewlixmax
@fewlixmax 25 күн бұрын
Two queries in saparate Excel save. how to pic data another excel from previous save excel
@fewlixmax
@fewlixmax 25 күн бұрын
please help me
@user-lk2uv5yo9r
@user-lk2uv5yo9r 25 күн бұрын
Just copy query by right click and paste in another.
@Hae3ro
@Hae3ro 25 күн бұрын
@@user-lk2uv5yo9rdoes this work?
@EricaDyson
@EricaDyson 18 күн бұрын
Local grouping.
@Acheiropoietos
@Acheiropoietos 24 күн бұрын
Where are my socks? 🤯😂
@GoodlyChandeep
@GoodlyChandeep 24 күн бұрын
Oops.. did I blow them away😂 Sorry
List.Accumulate in Power Query with Practical Examples
27:26
3 Insanely Awesome Slicer Tricks in Power BI 🤯
15:35
Goodly
Рет қаралды 12 М.
She’s Giving Birth in Class…?
00:21
Alan Chikin Chow
Рет қаралды 4,6 МЛН
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 47 МЛН
The Magic of working with Records in Power Query
10:28
Goodly
Рет қаралды 34 М.
How to Freeze Panes in MS Excel
2:38
WebWise
Рет қаралды 145
Create data validation list from Excel Table... the RIGHT WAY!
5:10
Excel Off The Grid
Рет қаралды 5 М.
Actual v/s Rolling Budget in Power BI
19:23
Goodly
Рет қаралды 7 М.
Filter Nested Tables before Expanding in Power Query
12:58
each & underscore_  in Power Query Explained
9:58
Goodly
Рет қаралды 42 М.
Create a Running Total by Category in Power Query
17:44
BI Gorilla
Рет қаралды 25 М.
iphone fold ? #spongebob #spongebobsquarepants
0:15
Si pamer 😏
Рет қаралды 201 М.
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 2 МЛН
Apple watch hidden camera
0:34
_vector_
Рет қаралды 52 МЛН
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 754 М.