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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

how to refresh the dataset programatically

Hi Team,

 

Let me summarize my challenge,

 

I have a Power Bi Report which needs to be integrated with my application(Integrated already).Each time the user creating some design request in the application which need to be reflected in the power bi report as well.That is Power bi report needs to consume the live data from the data base.So i undersatand that the power bi data source needs to be refreshed live,how this can be achieved.

 

Thanks in advance.

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous,

Do you need something like the refresh api (https://powerbi.microsoft.com/en-us/blog/announcing-data-refresh-apis-in-the-power-bi-service/)?
You can also read about cloning reports, update datasources, credentials and refreshes in a recent blog I've written (https://medium.com/@thanosd/deploy-power-bi-template-reports-in-a-multitenant-environment-26a9cb84079).
Hope it helps.

Thanos
Anonymous
Not applicable

Hi @Anonymous,

Thank you for the reply.

 

Yes i need some thing like the refresh API and do you any idea to configure this?

 

Thank you.

Anonymous
Not applicable

Hi @Anonymous,

 

please read the document I previously mentioned. It's very straight forward (POST https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/refreshes).

 

Regards,

 

Thanos

PS: If this reply helped you,please consider marking it as the accepted solution.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.