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

Timing a query - duration

Hi.  I am trying to set a timer start at the beginning of refresh and timer stop at end of refresh.  How can this be done?  I would like to track, statistically, how long it takes.  Seems like Power Query starts all queries at the same time.  There is definatelly an order in my queries... Query 1 starts and gets criteria to create a where statement for query 2... so query 1 must run first.  But seems like they both start at the same time with query 2 waiting for query 1 to be finished

1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

Hi, @SteveApa 


With Query Diagnostics, you can achieve a better understanding of what Power Query is doing at authoring and at refresh time in Power BI Desktop. While we'll be expanding on this feature in the future, including adding the ability to use it during full refreshes, at this time you can use it to understand what sort of queries you're emitting, what slowdowns you might run into during authoring refresh, and what kind of background events are happening.

 

To use Query Diagnostics, go to the Tools tab in the Power Query Editor ribbon.

vangzhengmsft_1-1646798184099.png

 

There's many questions you can try to answer with query diagnostics, but the two that we see the most often are asking how time is spent, and asking what the query sent to the source is. If we want to see how the time is spent, we can just look at the visualizations we built.

vangzhengmsft_0-1646798094315.png

Refer:

Query Diagnostics

Visualizing and Interpreting Query Diagnostics in Power BI

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @SteveApa 


With Query Diagnostics, you can achieve a better understanding of what Power Query is doing at authoring and at refresh time in Power BI Desktop. While we'll be expanding on this feature in the future, including adding the ability to use it during full refreshes, at this time you can use it to understand what sort of queries you're emitting, what slowdowns you might run into during authoring refresh, and what kind of background events are happening.

 

To use Query Diagnostics, go to the Tools tab in the Power Query Editor ribbon.

vangzhengmsft_1-1646798184099.png

 

There's many questions you can try to answer with query diagnostics, but the two that we see the most often are asking how time is spent, and asking what the query sent to the source is. If we want to see how the time is spent, we can just look at the visualizations we built.

vangzhengmsft_0-1646798094315.png

Refer:

Query Diagnostics

Visualizing and Interpreting Query Diagnostics in Power BI

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@SteveApa You can set them up to not run in parallel. Couple things. You can use the Tools tab in the Power Query Editor ribbon to start and stop diagnostics. Also, if you schedule the refreshes in the Service, you can view refresh statistics there. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.