Forum Discussion
powerbi-options-filter-pane-enabled="false" not working [embedded report]
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
- amikell10 years ago
Helper I
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>'
- amikell10 years ago
Helper I
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!