Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Hi All
Is there any way to capture execution time between Power Query steps starting from source till end of last step?
Thanks for inputs!
Hello @abpgupta,
In the Advanced Editor, you will see the M code that defines your query. Insert the following code at the beginning of the query:
let
StartTime = DateTime.LocalNow(),
Source = [Your Source],
...[Your Query Steps]...
EndTime = DateTime.LocalNow(),
ExecutionTime = EndTime - StartTime
in
ExecutionTime
This will capture the start time, end time and execution time of your query in the format of DateTime.
Let me know if you might need further assistance.
➤ Email: sahir@sahirmaharaj.com
➤ Lets connect on LinkedIn: Join my network of 12K+ professionals
➤ Want me to build your Power BI solution? Lets chat about how I can assist!
➤ Join my Medium community of 30k readers! Sharing my knowledge about data science and artificial intelligence
I had done this but both times came same. I am looking for time to fetch data. Thank you!
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!