Forum Discussion

campelliann's avatar
campelliann
Post Patron
3 years ago
Solved

Refresh Dataset Button on PowerBI Embedded

Hi,

So we have scheduled refreshes each 2 hours, but sometimes a user changes something on a source and would like to imediately see the changes and be able to refresh manually the published version without the need of waiting until the next scheduled refesh

Power Automate has a refresh dataset flow. Which by the way works on my powerbidesktop file. But when I publish the report the button does not appear on my PowerBI embedded portal - although it shows on the workspace when I enter powerbi service..

Any ideas, can this be done though Power Automate on Embedded license. If not what alternatives do we have?

  • Hi , campelliann 

    Accoridng to your description, you want to refresh a embed report by a buuton.

    For refreshing a dataset , you can try to use REST API to call the requst to refresh a dataset in some workspace.

    You can then use JavaScript to create a button that calls the REST API to refresh the dataset. Here is an example of how to refresh a dataset using the REST API.

    For the rest api , you can refer to :
    Datasets - Refresh Dataset In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

     

    Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

     

    Best Regards,

    Aniya Zhang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

1 Reply

  • Hi , campelliann 

    Accoridng to your description, you want to refresh a embed report by a buuton.

    For refreshing a dataset , you can try to use REST API to call the requst to refresh a dataset in some workspace.

    You can then use JavaScript to create a button that calls the REST API to refresh the dataset. Here is an example of how to refresh a dataset using the REST API.

    For the rest api , you can refer to :
    Datasets - Refresh Dataset In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

     

    Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

     

    Best Regards,

    Aniya Zhang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly