Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
I had done this but both times came same. I am looking for time to fetch data. Thank you!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |