microsoft / PowerBI-Embedded-Showcases

Showcases for Power BI Embedded
MIT License
82 stars 67 forks source link

change the report it refers to #7

Closed peya02 closed 3 weeks ago

peya02 commented 9 months ago

Sorry, How can I change the report it refers to?

v-MadhavC commented 1 month ago

Power BI Playground Showcases do not support changing the report reference directly. To change the report reference, you'll need to update the embedConfig object in the code by providing the new accessToken, embedUrl, and reportId.

To generate the access token, use the following REST API: Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn

To generate the embed token, use the following REST API: Reports - Get Report In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn