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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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