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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
dpFr33
Advocate II
Advocate II

Power BI Report Server : disable "Page" tab with rs:embed=true, not hide Page

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

9 REPLIES 9
vickyd
Helper V
Helper V

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! 🙂 


TestEmbed.png

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>



AntoineIBAT
New Member

Hi, we have the same requirements here, any suggestion or workaround to hide the page bar on the Report Server version?

Anonymous
Not applicable

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.

kadam
Frequent Visitor

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

famicarella
New Member

We have the same requirement.  Single page reports that does not require a tab and is consuming precious space.

vvnck
Frequent Visitor

no way

Anonymous
Not applicable

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?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.