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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
srana
Frequent Visitor

Refresh the data in power bi report server automatically.

Hi Team,

I'm taking data from Denodo into Power BI and the report is published in Power BI Report server.

I want the report to be refreshed automatically whenever the data is refreshed in denodo.
I am aware of schedule refresh and all but the report should refresh with new data when the data is refreshed in database.

Is there an API or script ?


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

Hi @srana ,

You can find the cache refresh plan for a report via the REST API like this

 

http://localhost/reports/api/v2.0/PowerBIReports(6654B9C1-8A84-432E-BC5F-883103A22832)/CacheRefreshPlans

Which gives you the ID of the cacheRefreshPlan. You can obviously figure out the reportID (GUID) using the REST-API

 

You can then access the cacherefreshplan using this

http://localhost/reports/api/v2.0/CacheRefreshPlans(ac452376-cfda-4772-8cf4-6b5a59ea321b)

Now the swagger documentation says you can make the cache refresh plan run using a POST request to

 

http://localhost/reports/api/v2.0/CacheRefreshPlans(ac452376-cfda-4772-8cf4-6b5a59ea321b)/Model.Exec...

 

Similar case refer:

https://community.powerbi.com/t5/Report-Server/Is-there-any-REST-API-to-Refresh-Data-for-PBIX-files-...  

 

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


Best Regards

Lucien

View solution in original post

1 REPLY 1
v-luwang-msft
Community Support
Community Support

Hi @srana ,

You can find the cache refresh plan for a report via the REST API like this

 

http://localhost/reports/api/v2.0/PowerBIReports(6654B9C1-8A84-432E-BC5F-883103A22832)/CacheRefreshPlans

Which gives you the ID of the cacheRefreshPlan. You can obviously figure out the reportID (GUID) using the REST-API

 

You can then access the cacherefreshplan using this

http://localhost/reports/api/v2.0/CacheRefreshPlans(ac452376-cfda-4772-8cf4-6b5a59ea321b)

Now the swagger documentation says you can make the cache refresh plan run using a POST request to

 

http://localhost/reports/api/v2.0/CacheRefreshPlans(ac452376-cfda-4772-8cf4-6b5a59ea321b)/Model.Exec...

 

Similar case refer:

https://community.powerbi.com/t5/Report-Server/Is-there-any-REST-API-to-Refresh-Data-for-PBIX-files-...  

 

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


Best Regards

Lucien

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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