- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
We were looking at the possibility of embedding a Power BI dashboard or report into a Service Portal. There is some information on this from Microsoft here the outlines putting these types of reports into portals. Ultimately this article shows that Power BI produces some code for an iFrame that wraps a report app so that it can be embedded in a portal. So for our test, that’s what we did.
Putting the iFrame into a HTML widget was pretty straightforward and rendered the report right away. One of the things that jumped out right away is the ever present footer at the bottom of the report. While the controls can be useful, I could see just as many asks to hide them and show only the report itself. Others have run into this same issue.
I found an article that talked about feeding parameters into the URL to show/hide things at the bottom of the report. There are multiple parameters I tried for that but none of them seemed to work.
So one way to handle this came from that prior article which involves adding a CSS argument to the URL to trim the bottom piece of the iframe off when it's rendered into the portal. The clip-path parameter was used to do the chop at the bottom in the lower example in the image below. There is some background for this paremeter here.
It's not an ideal solution but could be a way to clean this up if a requirement comes up for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.