Forum Discussion

codexq's avatar
codexq
New Member
4 years ago
Solved

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?

  • 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.

2 Replies

  • 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.

  • Anonymous's avatar
    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.