Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I created some reports with latest Power BI Report Server' version and want to embed them in my own portal.
I use rs:embed=true URL option.
All work fine except for the visibility of the page tab. I have only one page and I don't want to show this bottom tab.
My question: Is there an URL option to deactivate Page tab?
Regards,
Denis
Good News! Thanks to genius idea from a team member I think we've managed to solve this problem!
If you are embedding the PBIRS report in some sort of a HTML page (or a page that allows HTML) then the idea is to embed it into a container and extend the height of the iframe by say 50 px so that the page bar at the bottom of the report goes out of vertical view. This would cause a scroll bar to show up by default so we disable the scrollbar in the code too. End result is that the page bar is technically there, but it has been pushed out of view.
Here's how it would appear.. the full report in all it's glory! 🙂
Here's the sample code for the HTML page.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Power BI Report Embed</title>
<style>
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden; /* Hide scrollbars */
}
.iframe-container {
position: relative;
width: 100%;
height: 100%; /* Full viewport height */
overflow: hidden; /* Hide scrollbars */
}
.iframe-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: calc(100% + 50px); /* Increasing the height so that the bottom page bar goes out of viewing area */
border: none;
}
</style>
</head>
<body>
<div class="iframe-container">
<iframe src="http://yourReportServer/full/path/to/your/report?rs:embed=true" ></iframe>
</div>
</body>
</html>
Hi, we have the same requirements here, any suggestion or workaround to hide the page bar on the Report Server version?
Add in the embedded URL:
&filterPaneEnabled=false&navContentPaneEnabled=false
Like:
'<iframe width="1250" height="731" src="https://app.powerbi.com/reportEmbed?reportId=[...]&filterPaneEnabled=false&navContentPaneEnabled=false" frameborder="0" allowFullScreen="true"></iframe>
In your link this is a Power BI service, but we are talking about Power BI Report Server.
There are some differences between these products, more info here: https://docs.microsoft.com/en-us/power-bi/report-server/compare-report-server-service
In report server this is the main syntax to embed a report:
```<iframe width="1600" height="900"
src="http://yourReportServer/full/path/to/your/report?rs:embed=true"
frameborder="3" allowFullScreen="true"></iframe>```
That's why your solution is not useable for us.
Hello!
I also waiting for this option.
Is there anything news for this option?
Is it on development roadmap?
Can't wait for it...
Br,
Adam
We have the same requirement. Single page reports that does not require a tab and is consuming precious space.
no way
There is no option.
our users also requested to hide Tabs section as there is only one page and it consumes space.
I hope we see this feature in near future versions. By default if there is only one page then hide it.
Has anyone been able to solve this? is there any workarounds?
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
5 | |
5 | |
4 | |
4 | |
3 |