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
chicagolarsons
Frequent Visitor

Query Run Time Question

Hi,

Yesterday I used this tutorial by Rick de Groot to create a running total by group on a transaction variance table.  The table has 170,488 rows. I know and expect the query to take time to fnish running, because that buffered list is still time consuming to calculate. But my question is, how MUCH time should I give it before I kill it?  It's been running about half an hour, and it shows the status of my function, fxRunningTotal as "Evaluating." Just curious if anyone has insight and can give me some expectations.....is it working, or in some sort of endless loop?

4 REPLIES 4
Anonymous
Not applicable

Hi @chicagolarsons ,

If you are still facing the problem of running queries for a long time, I suggest you can use Tools > Start Diagnostics to check exactly which step or steps of the query are causing the slowness.

vjunyantmsft_0-1734921093355.png

This function counts exactly how long each query step has been running.

Best Regards,
Dino Tao

j_ocean
Helper V
Helper V

It might be better to do your running total in DAX, that way it dynamically adjusts to filters. In PQ, whatever you hard coded is what the report builder/viewer is stuck with.

Omid_Motamedise
Super User
Super User

Half an houre for such amount of rows is too much, it should be done in less than a minute, 

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h
ZhangKun
Super User
Super User

I looked at the article you mentioned and downloaded the sample file at the end of the article. I believe I have tested it enough (4 Excel files, a total of 200,000 rows, random numbers from 1 to 10,000 are classified and summed), and it takes less than a minute.

But one thing I am not sure about is that this method will read the file 3 times (I am not sure if it is caused by merging Excel files). If your data source comes from the Internet, it may also be due to network problems.

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.