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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
naveenvnit
Regular Visitor

loading the start time and End time for table and partition level on dataset refresh via api

I want to get the start time and endtime completion of semantic model refresh on table and partion level thru api

I saw https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-execution-details-in-group#... generates the dataset refresh information. But it returns only entire refresh start time and end time. But not in the table and partiton level.

 

Please suggest how can i get the start and end time in the table and partition level.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,@naveenvnit. Hello,@GilbertQ,Thank you very much for your help of this issue.
Now I want to share other suggestions with you.
 

According to your description, you want to get the refresh start time and end time of the table and partition in semantic model at the time of refresh.

 

Here is my suggestion, you can refer to it.
Use XMLA endpoint combined with API for refresh setting

If your semantic model is hosted in premium capacity, then you can use xmla endpoint to help you realize your needs.

For example you can remotely access the semantic model in the workspace via SSMS and manage it (manage tables/partitions)
like this:
when you refresh the semantic model in the power bi service,the result of the “Last Processed” will update. The ”Last Processed”  shows the end time of the processed partition.
You can get the processing time of a single partition by calculating the processing end time of neighboring partitions.

vjtianmsft_0-1716182696182.png

XMLA is a communication protocol for data transfer and data communication with other data sources, which enables remote management of elements on the power bi service.

Here is the official document about the introduction of XMLA
URL:Semantic model connectivity and management with the XMLA endpoint in Power BI - Power BI | Microsoft...
My testing process is as follows:
1. Enable XMLA Endpoint read/write functionality.

vjtianmsft_1-1716182732474.png

2.Copy the link  url of the worksapce( Need Premium Per User  license or Premium capacity)

vjtianmsft_2-1716182763342.png

3.Connect to the SQL Server Management Studio

vjtianmsft_3-1716182835156.png
Connect successful and you can see all the databases(the semantic model in power BI service)

vjtianmsft_4-1716182867226.png

vjtianmsft_5-1716182878344.png

Now you can the the partions of the table and when you refresh the semantic model(by API or others ways),the results of the Last Processed will change

vjtianmsft_6-1716182906595.png

 

vjtianmsft_7-1716182918069.png

The case I'm showing is a semantic model configured for incremental refresh, so after performing the refresh, only the data in the intervals within the refresh range were subjected to the refresh operation

vjtianmsft_8-1716182946272.png

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

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

3 REPLIES 3

Lets say we are doing a full refresh of  one specific table through XMLA End point in SSMS. How can we find out what is the time taken for refresh for that single table? Is there any way to do that ? 

Anonymous
Not applicable

Hi,@naveenvnit. Hello,@GilbertQ,Thank you very much for your help of this issue.
Now I want to share other suggestions with you.
 

According to your description, you want to get the refresh start time and end time of the table and partition in semantic model at the time of refresh.

 

Here is my suggestion, you can refer to it.
Use XMLA endpoint combined with API for refresh setting

If your semantic model is hosted in premium capacity, then you can use xmla endpoint to help you realize your needs.

For example you can remotely access the semantic model in the workspace via SSMS and manage it (manage tables/partitions)
like this:
when you refresh the semantic model in the power bi service,the result of the “Last Processed” will update. The ”Last Processed”  shows the end time of the processed partition.
You can get the processing time of a single partition by calculating the processing end time of neighboring partitions.

vjtianmsft_0-1716182696182.png

XMLA is a communication protocol for data transfer and data communication with other data sources, which enables remote management of elements on the power bi service.

Here is the official document about the introduction of XMLA
URL:Semantic model connectivity and management with the XMLA endpoint in Power BI - Power BI | Microsoft...
My testing process is as follows:
1. Enable XMLA Endpoint read/write functionality.

vjtianmsft_1-1716182732474.png

2.Copy the link  url of the worksapce( Need Premium Per User  license or Premium capacity)

vjtianmsft_2-1716182763342.png

3.Connect to the SQL Server Management Studio

vjtianmsft_3-1716182835156.png
Connect successful and you can see all the databases(the semantic model in power BI service)

vjtianmsft_4-1716182867226.png

vjtianmsft_5-1716182878344.png

Now you can the the partions of the table and when you refresh the semantic model(by API or others ways),the results of the Last Processed will change

vjtianmsft_6-1716182906595.png

 

vjtianmsft_7-1716182918069.png

The case I'm showing is a semantic model configured for incremental refresh, so after performing the refresh, only the data in the intervals within the refresh range were subjected to the refresh operation

vjtianmsft_8-1716182946272.png

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

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



GilbertQ
Super User
Super User

Hi @naveenvnit 

 

The only way that I know that you can get this information is by using log Analytics on a premium or premium per user at workspace. Here are more details on log analytics. Configure Azure Log Analytics in Power BI - Power BI | Microsoft Learn





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.