Forum Discussion
Hiding Filter Pane on Powerbi Report view
- 7 years ago
In Power BI desktop you can click the eye icon on the top of the filter pane.
When the report is published the Filters pane will not be visable.
I have the same issue. Any news on this topic ?
Using PBi online, making reports visible in Teams but the filters are all still visible as long as each filter separately is not hidden. So this general hiding button doesn't work for me.
Tx for any advice on what I could be doing wrong here.
Hi,
I was using the default code downloaded from the PowerBI website for the PowerBIEmbedded_AppOwnsData demo. If you open this project and drill down to EmbedReport.cshtml, there is code that is similar to this:
var config = {
type: 'report',
tokenType: models.TokenType.Embed,
accessToken: accessToken,
embedUrl: embedUrl,
id: embedReportId,
permissions: models.Permissions.All,
settings: {
filterPaneEnabled: true,
navContentPaneEnabled: false,
layoutType: models.LayoutType.MobileLandscape
},
};Notice the configuration element setting filterPaneEnabled to true? This overrides whatever you set in the PowerBI desktop.
Hope this helps you.
All the best,
Marcel