Advanced Grouping Tricks In Power Query

  Рет қаралды 32,711

Goodly

Goodly

Күн бұрын

Пікірлер: 94
@GoodlyChandeep
@GoodlyChandeep 7 ай бұрын
⬇ 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/
@walterstevens8676
@walterstevens8676 4 ай бұрын
Some neat tricks here. But the groupings are being done using the table that you probably will want to use for other things as well, so I usually preface groupings with the creation of a reference table...
@ajinkyashinde1778
@ajinkyashinde1778 7 ай бұрын
You are the boss of power query transformation 💪 ❤️❤️
@Bhavik_Khatri
@Bhavik_Khatri 15 күн бұрын
Mark, your insights have motivated me to begin learning LAMBA. This will enable online spreadsheet functionality exceeding the capabilities of VBA custom functions. Thank you.
@rodriguesfernand
@rodriguesfernand Ай бұрын
Great !! Thank so much, @Chandeep !!
@BicycleFriends
@BicycleFriends 7 ай бұрын
I love the "Grouped Rows" and Totals example.
@alexbarbucristi
@alexbarbucristi 7 ай бұрын
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.
@sarveshdeshpande1772
@sarveshdeshpande1772 7 ай бұрын
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 ❤
@Hello-bn2yc
@Hello-bn2yc 7 ай бұрын
Man you are just Blessed by God in Power Query...
@carlosdias9718
@carlosdias9718 7 ай бұрын
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 7 ай бұрын
I would appreciate if you can please give an example or some pointer for it ?
@jimgleason4040
@jimgleason4040 7 ай бұрын
Chandeep, you are absolutely the best. These are brilliant tricks.
@maciejkaron7479
@maciejkaron7479 7 ай бұрын
This concatenation example is mind blowing for me. I will definetely use it in my future projects. Great video!
@anillpatel
@anillpatel 7 ай бұрын
Excellent Presentation. Very useful Grouping techniques.
@hilaryb4842
@hilaryb4842 7 ай бұрын
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?
@shashipaul6279
@shashipaul6279 7 ай бұрын
So awesome.... I'm going to use 1st n 3rd ....
@oscarmendez-roca9181
@oscarmendez-roca9181 7 ай бұрын
Great and very useful set of tricks, thanks a lot Chandeep!
@fzm280579
@fzm280579 7 ай бұрын
Is it possible to sort the text.combine from the first example? Ascending or by another list?
@alexbarbucristi
@alexbarbucristi 7 ай бұрын
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 7 ай бұрын
@@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!
@FsoOmar
@FsoOmar 7 ай бұрын
Awesome tricks! All of them are mind-blowing and new to me. Thanks a lot for your fantastic tutorials.
@IvanCortinas_ES
@IvanCortinas_ES 7 ай бұрын
Terribly amazing. Thank you Chandeep!
@karimallahwala7022
@karimallahwala7022 7 ай бұрын
Great content and very helpful. I can‘t choose the Most helpful one. They are all very very good.Thank you so much
@shubhabratadey
@shubhabratadey 7 ай бұрын
You are a weird GENIUS who keeps us amazing in every videos...😄 Please keep on sharing such Learnings
@rosicalp
@rosicalp 7 ай бұрын
Awesome and helpful as usual ! Thanks a lot! I'm already planning to do some optimizations with the append trick.
@obaidulbau
@obaidulbau Ай бұрын
Wonderful
@eslamfahmy87
@eslamfahmy87 7 ай бұрын
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 😊
@dharmmu
@dharmmu 7 ай бұрын
You are just playing with power query like a pro kid.....👍
@whizzohk
@whizzohk 7 ай бұрын
You're right my friend, that is pretty damn awesome. And simple when you explain it too! Well done and thank you.
@captvo
@captvo 7 ай бұрын
Amazing and productive tricks! Thank you!
@sabbasachisaha4422
@sabbasachisaha4422 7 ай бұрын
All three are mind-blowing
@eslamfahmy87
@eslamfahmy87 6 ай бұрын
Awsome 😊 the group kind it what i need, could you make a full tutorial on group kind types
@lar5091
@lar5091 7 ай бұрын
All are Awesome.. Thanks for sharing
@alexrosen8762
@alexrosen8762 7 ай бұрын
Super super useful tutorial. Thanks a lot
@chiragdabhi4929
@chiragdabhi4929 7 ай бұрын
First one is what I'm actually looking for !!
@sybarix
@sybarix 7 ай бұрын
Thanks bro, always learning something from you
@dimmitrio
@dimmitrio 7 ай бұрын
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.
@shri_420
@shri_420 7 ай бұрын
Thank you ❤
@sumardjo
@sumardjo 7 ай бұрын
thanks for your knowledge and special thanks for simple file I try to step by step the youtube video thanks very much
@odallamico
@odallamico 7 ай бұрын
Hey Mr. Extremely amazing tricks in PQ
@chrism9037
@chrism9037 7 ай бұрын
Awesome Chandeep!!
@AnbarasuAnnamalai
@AnbarasuAnnamalai 6 ай бұрын
I loved all the examples, particularly the Text. Combine grouping. Can a delimiter like CHAR(10) be used here to keep texts in a separate line?
@BobbySox-i9q
@BobbySox-i9q 24 күн бұрын
No CHAR(10) is DAX you need to use carriage return and line feed combination which in ‘M’ is "#(cr)#(lf)"
@BobbySox-i9q
@BobbySox-i9q 24 күн бұрын
"#(cr)#(lf)"
@anbua9792
@anbua9792 23 күн бұрын
@@BobbySox-i9q Thank you very much for your assistance. This information has proven to be incredibly valuable in enhancing my work performance.
@dilipinamdar5523
@dilipinamdar5523 7 ай бұрын
Nice Thank You🙏
@ОлегПетров-ю4п
@ОлегПетров-ю4п 7 ай бұрын
Thank you very much. You are very cool!
@윤희순-l7l
@윤희순-l7l 7 ай бұрын
감사합니다. 한국에서~ (Thank you in Korea)
@datawizibility
@datawizibility 7 ай бұрын
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 7 ай бұрын
Yes we can, we'll have to modify the MCode slightly for extracting the date range.
@vinothkumarmanoharan2317
@vinothkumarmanoharan2317 7 ай бұрын
Awesome one
@sanju4295
@sanju4295 7 ай бұрын
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?
@laionegan
@laionegan 7 ай бұрын
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
@sujithkamath
@sujithkamath 7 ай бұрын
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 7 ай бұрын
Because you can always use the SUM function to create a total. Power Query is for preparing data and not the output.
@sujithkamath
@sujithkamath 7 ай бұрын
@@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 👍👍
@JorgePerez-bu4ph
@JorgePerez-bu4ph 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
@@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!
@itikshamittal
@itikshamittal 7 ай бұрын
I liked the first one 😊
@estanopossible9561
@estanopossible9561 5 ай бұрын
All 3 tricks are good
@cwnmaster
@cwnmaster 3 ай бұрын
It would be better (in last Tip - Grouping by Stint) rather than counting the months in a stint, identifying when to when a person was in a particular role (consecutively). It can be done in EXCEL. It should be reliably (and without complication) done in Power Query - A challenge for your enthusiasm.
@PritpalSingh-g6h
@PritpalSingh-g6h 2 ай бұрын
bro where do you get those parnas you were? thanks
@GoodlyChandeep
@GoodlyChandeep 2 ай бұрын
outside Bangla Sahib Gurdwara
@ajieapen
@ajieapen 7 ай бұрын
The last one is quite similar to the problem that we worked together a couple of years ago... :)
@williamthedataprof
@williamthedataprof 7 ай бұрын
pretty damn awesome indeed 🙂
@TheAlwaysGoel
@TheAlwaysGoel 7 ай бұрын
Can I combine numberic. Values
@darwinmercado7943
@darwinmercado7943 7 ай бұрын
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 7 ай бұрын
His name is Chandeep, not Goodly !
@raitup00
@raitup00 7 ай бұрын
The 1st trick I used it a LOT
@rogeriodornellas2115
@rogeriodornellas2115 6 ай бұрын
Master M !😎
@walidjaballah9005
@walidjaballah9005 3 ай бұрын
What is the difference between grouping and pivot in power query ?
@brij26579
@brij26579 7 ай бұрын
🤟 Rocks 🤟
@aparnapandravada5073
@aparnapandravada5073 7 ай бұрын
It looks too much tough for me to remember this 😮
@shwetkumar1719
@shwetkumar1719 7 ай бұрын
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
@fewlixmax
@fewlixmax 7 ай бұрын
Two queries in saparate Excel save. how to pic data another excel from previous save excel
@fewlixmax
@fewlixmax 7 ай бұрын
please help me
@dimmitrio
@dimmitrio 7 ай бұрын
Just copy query by right click and paste in another.
@Hae3ro
@Hae3ro 7 ай бұрын
@@dimmitriodoes this work?
@avijitaich787
@avijitaich787 7 ай бұрын
No words. But being selfish needs help. Having a problem with find and concatenation
@prabhuji3337
@prabhuji3337 7 ай бұрын
Take a bow!
@aniljaggarwal60
@aniljaggarwal60 3 ай бұрын
डियर थैंक्स यदि एक से ज्यादा कॉलम का sum करना हो, month year एंड लोकेशन वाइज कैसे करें जल्दी कृपया बताए ।
@EricaDyson
@EricaDyson 7 ай бұрын
Local grouping.
@gordoncooper5965
@gordoncooper5965 4 ай бұрын
I am now looking for new socks.
@Acheiropoietos
@Acheiropoietos 7 ай бұрын
Where are my socks? 🤯😂
@GoodlyChandeep
@GoodlyChandeep 7 ай бұрын
Oops.. did I blow them away😂 Sorry
@dram3281
@dram3281 21 күн бұрын
आप हिंदी में वीडियो बना दो सर्च
@GoodlyChandeep
@GoodlyChandeep 21 күн бұрын
www.youtube.com/@desigoodly
@dram3281
@dram3281 21 күн бұрын
आपकी अंग्रेजी चैनल की वीडियो की हिंदी वीडियो बना दीजिए सर
@salahaldeen7924
@salahaldeen7924 7 ай бұрын
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'")
Advanced Unpivoting Tricks in Power Query
30:19
Goodly
Рет қаралды 26 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Power Query - Alternate Group By Strategies
12:29
BCTI
Рет қаралды 5 М.
5 Tricks to Reduce Steps in Power Query
16:42
Goodly
Рет қаралды 36 М.
Advanced Group By Tricks in Power Query
14:37
Goodly
Рет қаралды 99 М.
5 Best Practices in Power Query
11:31
Goodly
Рет қаралды 53 М.
List.Accumulate in Power Query
1:04:01
Data BI
Рет қаралды 5 М.
10 awesome Power Query tricks you NEED to know! | Excel Off The Grid
15:44
Excel Off The Grid
Рет қаралды 54 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН