Summarizing Data with Group By in Power Query

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

Excel Off The Grid

Excel Off The Grid

Күн бұрын

★ Want to automate Excel? Check out our training academy ★
exceloffthegrid.com/academy
★ Check out the blog post & download the example file★
exceloffthegrid.com/power-que...
★ About this video ★
In Excel, there are many ways to group and summarize data, and in Power Query Group By performs this task similarly to Excel functions, but with a slightly different purpose. In Excel, we generally summarize to display a result; however, in Power Query, we summarize to reduce data to the optimal granularity level. The Power Query Group By transformation is simple yet powerful. So, let's take a look at how we can use it.
0:00 Introduction
0:52 Group By views: basic and advanced
2:06 Summarize Data: Example #1
2:56 Summarize Data: Example #2
4:08 Summarize Text
6:02 All Rows option
6:55 Conclusion
★ Download 30 most useful Excel VBA Macros ebook for FREE ★
exceloffthegrid.com/
★ Where to find Excel Off The Grid ★
Blog: exceloffthegrid.com
Twitter: / exceloffthegrid
#MsExcel #PowerQuery

Пікірлер: 31
@vwij1736
@vwij1736 5 ай бұрын
Great video Mark.
@IvanCortinas_ES
@IvanCortinas_ES Жыл бұрын
The last case of "All rows" is very interesting. Excellent and brilliant explanation Mark. Thanks!!
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Because it creates a Table in each row. We can then use all the M code Table.xxxxx functions in a Custom Column to manipulate those Tables. It's mind blowing.
@leftindependent
@leftindependent 2 ай бұрын
Excellent job! Thank you 😊
@ExcelOffTheGrid
@ExcelOffTheGrid 2 ай бұрын
You’re welcome.
@c.e.bingham2079
@c.e.bingham2079 10 ай бұрын
Well done! Excellent presentation, as I learned something new. Thanks!
@ExcelOffTheGrid
@ExcelOffTheGrid 10 ай бұрын
Glad you enjoyed it!
@Pradonis7
@Pradonis7 Ай бұрын
Your content is excellent. You are very didactic. Thank you!!
@ExcelOffTheGrid
@ExcelOffTheGrid Ай бұрын
Thank you, I appreciate that! 😁
@user-dl6vn9jj8s
@user-dl6vn9jj8s Жыл бұрын
Thanks. I find this really useful.
@andrewsinha2785
@andrewsinha2785 Жыл бұрын
Clear, perfect Thanks
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
You're welcome!
@SeemaSharma-lj3cf
@SeemaSharma-lj3cf 9 ай бұрын
Thank you for sharing
@ExcelOffTheGrid
@ExcelOffTheGrid 9 ай бұрын
My pleasure
@ohdjrp4
@ohdjrp4 Жыл бұрын
Thank you!
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
You're welcome!
@Picla_Peremohy
@Picla_Peremohy Жыл бұрын
Another excellent video Mark. I was previously aware of the Text.Combine trick but was plagued by the duplicate values in the cell. You made my day today with the List.Distinct() addition. Since the need for summarizing text is quite common, do you think Microsoft will add that as an option instead of forcing us to use the Sum workaround as you present?
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
You're welcome Jim. It would make sense to add Text.Combine to that list (along with as many other possible options), but I think it's unlikely for quite a while. I know the Power Query team are working on some pretty big stuff at the moment, so I doubt that will revert any resources for something like this at the moment.
@orkunakar9057
@orkunakar9057 5 ай бұрын
how can I apply Group by where I have multıple colums? product X Y Y sum for each months seperately ?
@dougmphilly
@dougmphilly 10 ай бұрын
list distinct --- i needed this bad
@ExcelOffTheGrid
@ExcelOffTheGrid 10 ай бұрын
I’m glad you found it useful.
@Charly_MC
@Charly_MC Жыл бұрын
Excellent. I have a question: is possible Create groups for specific dates ? Example: my field date is day by day but I need group by month (Sum values) and March I need day by day 😅 thanks
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Add a month column, then perform the Group By. You can always remove the column later if you don’t need it any more.
@leiterservices
@leiterservices 11 ай бұрын
Using the Text.combine, the resulting column still shows errors - how do you fix that?
@ExcelOffTheGrid
@ExcelOffTheGrid 11 ай бұрын
Is the column a text data type?
@eslamfahmy87
@eslamfahmy87 Жыл бұрын
Hello sir...if my data have Duplicated on one column and I need to make a group by by this column to be unique data for my file
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Select the column then click Home > Remove Rows > Remove Duplicates
@eslamfahmy87
@eslamfahmy87 Жыл бұрын
@@ExcelOffTheGrid thank you 😊 for fast response, highly appreciated but I know this feature, and as I understood from ur reply that's my need not coverd on group by tool. Am right ?
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
So you want to Group By and then remove duplicates inside each Group? To do that - use Group By with the operation on All Rows. Then add a custom column with the Table.Distinct function applied to each row. Finally, expand the Tables.
@eslamfahmy87
@eslamfahmy87 Жыл бұрын
@@ExcelOffTheGrid thnx a lot 😊 I will try it ...
@eslamfahmy87
@eslamfahmy87 Жыл бұрын
@@ExcelOffTheGrid actually, I tried but it's doesn't work good as when I expand the custom table all Duplicated are reflected again despite of I used table.distinct function!!
How to fix the Formula Firewall in Power Query | Excel Off The Grid
11:26
Excel Off The Grid
Рет қаралды 6 М.
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 46 МЛН
Bro be careful where you drop the ball  #learnfromkhaby  #comedy
00:19
Khaby. Lame
Рет қаралды 43 МЛН
1🥺🎉 #thankyou
00:29
はじめしゃちょー(hajime)
Рет қаралды 77 МЛН
Advanced Group By Tricks in Power Query
14:37
Goodly
Рет қаралды 85 М.
Data Grouping in Power Query: Ultimate Guide
14:36
EXCEL 4 UR PARENTS
Рет қаралды 4,6 М.
Table slicers for advanced interactivity in Excel | Excel Off The Grid
10:41
Create data validation list from Excel Table... the RIGHT WAY!
5:10
Excel Off The Grid
Рет қаралды 5 М.
Power Query - Faster & Easier Parameters
13:38
BCTI
Рет қаралды 30 М.
Excel Power Query Tutorial - Grouping Tables of Data
16:04
David Langer
Рет қаралды 13 М.
Use slicers with PIVOTBY, GROUPBY & FILTER in Excel | Excel Off The Grid
8:07
4 METHODS to Filter by a List in Power Query | Excel Off The Grid
13:14
Excel Off The Grid
Рет қаралды 28 М.
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 46 МЛН