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
amikell
Helper I
Helper I

powerbi-options-filter-pane-enabled="false" not working [embedded report]

https://github.com/Microsoft/PowerBI-JavaScript referencing an example from this page

 

The goal is to load an embedded report without the filter pane, I've included this statement in my div tag but the filter pane still appears and is 100% functional

+ I should note that I am passing a filter to the embedded report
1 ACCEPTED SOLUTION

@akagiz I misread your original comment! You said to pass it as a parameter to the URL! My mistake!

 

I did this to remove the filter pane: embedUrl + "&filterPaneEnabled=false"

 

Naturally the embedUrl will have the reportId as the first parameter with "?", thanks for your help!

View solution in original post

4 REPLIES 4
vanderleiteza
New Member

I incorporated HTML code into my page to show a dashboard. Is it possible to remove this footer in red? ... In a dashboard with multiple graphic elements, is it possible to use only one of these graphics in my HTML page?PowerBI.png

akagiz
Frequent Visitor

can you show the actual code referencing the <iframe> tag? in the src-attribute you are able to pass a parameter "filterPaneEnabled=false" which effectively hides the filter pane.

 

I have a followup question, because of you mentioning you are using a filter. I'm trying to use a filter that utilizes an "or" operator like such: 

...
oDataFilter: "Metrics/project eq 'auth'", 
...

which works flawlessly. however when i try to combine that with the "or"-operator:

...
oDataFilter: "Metrics/project eq 'auth' or Metrics/project eq 'alpha'", 
...

the filter is no longer used and the rows no longer filtered. Could you help with that?

 

Greetings

 

Hello @akagiz, I also tried the 'or' operator and it broke the filter as well, it failed to filter any rows.

 

In addition, I added 'filterPaneEnabled="false"' to my iframe tag and the filter pane remained!

 

'<iframe style="width:85%;height:85%;" src="' + embedUrl + '" scrolling="no" allowfullscreen="true" filterPaneEnabled="false"></iframe>'

@akagiz I misread your original comment! You said to pass it as a parameter to the URL! My mistake!

 

I did this to remove the filter pane: embedUrl + "&filterPaneEnabled=false"

 

Naturally the embedUrl will have the reportId as the first parameter with "?", thanks for your help!

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.