Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am wondering if anyone has had any experience with embedding Power BI visuals in SharePoint Online using the JavaScript API? I know there is a simple way to embed to SharePoint but I want to use the capabilities of the JavaScript API to apply some custom layouts and filters through to the SP web part.
A few things:
The main sticking point at the moment is around authenticating the user to get the necessary token. We are having to piece together code elements from a number of different pages and it's not made any easier by some referencing the "old" Power BI Embedded workspace collection process and confusing things!
Does anyone have any experience doing this or is there any reference material online that I have missed?
Thanks in advance!
Power BI do have two options available to embed in SharePoint Online.
1. Through SharePoint Online Embed option, take use of the iframe to embed the Publish to Web URL directly,
2. Use the direct Power BI Icon
I am not sure if using the Embed API directly would work, I will try to confirm that part with some SharePoint guys and update you later.
Regards,
Michael
Hi, is there any update on this? I also need this for my project i'm working on. Thanks
Any updates? I would like to do the same but to add custom filters
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |