Reply
Regular Visitor
Posts: 39
Registered: ‎03-08-2018

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.

Highlighted
Member
Posts: 58
Registered: ‎03-07-2018

Re: how to refresh the dataset programatically

Hi @bijay,

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-26a9cb8407...).
Hope it helps.

Thanos
Regular Visitor
Posts: 39
Registered: ‎03-08-2018

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.

Member
Posts: 58
Registered: ‎03-07-2018

Re: how to refresh the dataset programatically

Hi @bijay,

 

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.