Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
I have an excel on the sharepoint website and i would like to provide a preview of it (Embed that excel) in the power bi report. so i choose to take the approach of using iframe in the HTML Viewer control. below are the steps i took.
1. Navigate to the excel on sharepoint, open the file, click file --> share --> embed --> copy the iframe tags from Embed Source code.
<iframe width="402" height="346" frameborder="0" scrolling="no" src="https://abc.sharepoint.com/x/y/z/15/Doc.aspx?sourcedoc={<some GUID of file..masked here>}&action=embedview&wdAllowInteractivity=False&wdHideGridlines=True&wdHideHeaders=True&wdDownloadButton=True&wdInConfigurator=True"></iframe>
2. I created a sample html file and included it under html tags. Browsed the html file and it shows flawless
3. Now i created a custome filed with this iframe tag in power bi report.
4. Assigned the new filed to the HTML Viewer control.
5.Published the file to my workspace.
6. Nothing loads up in the html viewer control...I expect that the excel file to be embeded in it.
Below is the rawHTML from HTMLViewer control
Did anyone have luck in solving similar problem
please refer to this documentation on limitations. Most likely CORS.
CORS & Other Known Limitations | HTML Content - Custom Visual for Power BI (html-content.com)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
74 | |
57 | |
38 | |
33 |
User | Count |
---|---|
71 | |
65 | |
58 | |
50 | |
47 |