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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.