Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Solved! Go to Solution.
Hi @Tejasvi_munge ,
There are two options:
1) You can add a code using JavaScript. Go to Power BI Embedded playground - https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#. Then go to tab "Code" -> Interact -> Edit & Save -> SaveAs Report. And you will get a sample code.
2) Each embedded report is actually located in a workspace of specific Power BI Service account. So you can use Power BI REST API - https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exportreportingroup. You can authenticate via Azure or you can get a temp token using WebBrowser/Fiddler tool if you have access to that PBI Service account.
Regards,
Ruslan Zolotukhin (zoloturu)
BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!
It was useful? Press Thumbs Up!
You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups
Hi @Tejasvi_munge ,
There are two options:
1) You can add a code using JavaScript. Go to Power BI Embedded playground - https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#. Then go to tab "Code" -> Interact -> Edit & Save -> SaveAs Report. And you will get a sample code.
2) Each embedded report is actually located in a workspace of specific Power BI Service account. So you can use Power BI REST API - https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exportreportingroup. You can authenticate via Azure or you can get a temp token using WebBrowser/Fiddler tool if you have access to that PBI Service account.
Regards,
Ruslan Zolotukhin (zoloturu)
BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!
It was useful? Press Thumbs Up!
You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |