Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
codexq
New Member

Can not embed web page in Power Bi using HTML content visual

I have built my own website and I want my website shown on Powe BI. Because my website will provide some charts to Power BI.

 

So I use the HTML content visual and create a measure dropped to HTML content visual as below.  This measure contains my website.

 

 

NewMeasure = "<iframe src=http://xxx.xxx.xxx.xxx/test_new.html?testpara=xxxx style='position:fixed; width: 100%; height: 100%'></iframe>"

 

 

But it didn't show anything. But this website can be accessed using chrome, edge, IE8+.

 

Interestingly,  while I change the URL to another website. It can be shown on Power BI like below.

 

 

Echarts = "<iframe src=https://echarts.apache.org/en/index.html style=position:fixed;width:100%;height:100%></iframe>" 

 

 

Apparently, some websites can be shown on Power BI while others can not be shown. Any clue about what's the difference between these two websites? And how can I embed my website on Power BI?

1 ACCEPTED SOLUTION
codexq
New Member

OK. I found the reason now. The URL should begin with HTTPS rather than HTTP.  So the website must have an SSL certificate. The problem has been solved after I get my website a certificate.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

hi @codexq  i have the same requirement. I want to embed a dashboard which is built in angular to be shown through power bi app. I have used the same html content visual, however i am getting an error that the site is refusing to connect. I have used https in the URL and still the error is coming. When i add some other website in that iframe it loads. so not sure what cold be the issue. 

anamazmi_0-1678106097977.png

 

codexq
New Member

OK. I found the reason now. The URL should begin with HTTPS rather than HTTP.  So the website must have an SSL certificate. The problem has been solved after I get my website a certificate.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors