cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Resolver II
Resolver II

Re: how to refresh the dataset programatically

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
Highlighted
Anonymous
Not applicable

Re: how to refresh the dataset programatically

Hi @thanosd,

Thank you for the reply.

 

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

 

Thank you.

Highlighted
Resolver II
Resolver II

Re: how to refresh the dataset programatically

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
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!