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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.