Forum Discussion
Hide filter pane in embbed application
Hi All,
I am facing issue with filter pane in the power bi reports which is embedded in an application. I don't want to show filter pane so I have hideit in the desktop using eye icon, and it is not visbile on service as well. Earlier, it was not visible in reports in the embedded application, but suddenly it is visble in an embedded application even though I have hide it on desktop.
What might be the reason?
Is this due to the power bi monthly update? My current version of PBI desktop is 2.80.5803.1061 64-bit (April 2020) and previous version when it filter pane was not showing into application was jan/feb(not sure).
Thanks in advance.
4 Replies
- ibarrauSuper User
Hi! Hiding the filter pane is not something you have to do in power bi desktop for embeded apps. It will depend on how you are embedding.
1- If you are embedding just with clicking on three dots of the report -> Embed -> Website then it should be really easy. Try adding on the url:
&filterPaneEnabled=false
https://app.powerbi.com/reportEmbed?reportId=<yourReportIDHere>&autoAuth=true&filterPaneEnabled=false
2- If you using Power Bi Embed and developing an app then get in here: https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html
There you can see examples of the variable config and set in false the pane "filters":
var config = { type: 'report', tokenType: tokenType == '0' ? models.TokenType.Aad : models.TokenType.Embed, accessToken: txtAccessToken, embedUrl: txtEmbedUrl, id: txtEmbedReportId, permissions: permissions, settings: { panes: { filters: { visible: false }, pageNavigation: { visible: true } } } };Hope this helps.
- MichalStepanekFrequent Visitor
Same issue here. Using the eye icon in the PBI Desktop should disable filter panel in both published version and the embedded application as described here https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-report-filter. Everything was working well till last week, now it does not work for embedded. Is it a bug?
Thanks- MichalStepanekFrequent Visitor
I was informed by Microsoft support that it is a known issue at this time. The permanent fix will be available on 12th of June.
- AnonymousNot applicable
click here close to eye icon