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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors