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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Top Kudoed Authors