Forum Discussion
Refresh Dataset Button on PowerBI Embedded
- 3 years ago
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 LearnThank 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
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