Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Aggregating a table in Power Query

I have a table that has over 15 million records. When I use Group by feature or do List.Sum function, it takes forever to calculate it. Doing the same in Dataflow just crashes it.

What would be the most effecient way of summing a column in this table or counting rows in the table without using list.sum or related functions?

 

Thanks

3 REPLIES 3
Anonymous
Not applicable

Could we take a peek at your code, and maybe some sample data please?

Anonymous
Not applicable

List.Sum is pretty straightforward, what do these 15M rows look like, and what is the source?

Anonymous
Not applicable

source is sql. 

There's only 4-5 columns. 3 descriptive, 1 date and 1 $ amount. 

I've tried group by in data flow and it takes a lot of time and then it crashes.

on the desktop it takes half hour just to do sum or distinct count of rows.

List.Sum seems straightforward but not sure why it would be such a resource constraint. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.