cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

How to embed the PowerBI Report in a html page by using JavaScript/Angular

Hi,

 

I am using this link https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html# to copy the javascript and using it directly into a html file after chaging the values to static values becaue this is taking the value from text Box. But to my utter surprise it does not works. 

 

Do we have any working version of plain simple HTML with report embedding code using Javascript/Angular?

 

Regards

Rajaniesh2019-07-04_11-15-07.jpg

3 REPLIES 3
Highlighted
Super User III
Super User III

Hi there

If you are looking to embed a Power BI report into a web page, you can use the Secure Embed option in a Power BI report?

https://powerbi.microsoft.com/en-us/blog/easily-embed-secure-power-bi-reports-in-your-internal-porta...




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Highlighted

Hi Gilbert,

 

Secure Embed will not work because we want to embedd it in the existing Angula JS application and pass the Auth token based on currently loggedin user cred instead of allowing user to login to powerbi seperately.

 

Regards
Rajaniesh

Blog

 

Highlighted

Hi there

If that is the case then this might be the best starting point for you to learn how to pass the authentication through

https://powerbi.microsoft.com/en-us/developers/embedded-analytics/isv/




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors