Forum Discussion
Hiding the Filters Panel
We have embedded a Dashboard in an internal Web site and would like to hide the Filters panel. Is that possible? Thanks.
4 Replies
- kevhavContinued Contributor
How are you embedding it?
Power BI Reports in SharePoint Online? Or with the Power BI API? Or with Power BI Embedded?
If you're using the SharePoint web part, then you can edit the web part, and there is an option in the web part configuration for turning off the filter pane.
If you're using the API...I've never done it, but this page says something, and has an example, about "Enable and disable the filter pane and page navigation pane."
If you're using Power BI Embedded...again, I've never done it, but this page seems to have a solution.
- apaganHelper I
We are using Power BI embeded. I've read the provided page - I will give it a try and pass along the outcome.
Thanks.
- v-huizhn-msftMicrosoft Employee
Hi apagan,
Welcome to share your solution if you have resolved your solution, so more people will appreciate your workaround.
Best Regards,
Angelia
- solvisigAdvocate III
This is done by adding this section to your config:
settings: { filterPaneEnabled: false, navContentPaneEnabled: false }
My complete config looks like this:var config = { type: 'report', tokenType: models.TokenType.Embed, accessToken: accessToken, embedUrl: embedUrl, id: embedReportId, permissions: models.Permissions.Read, settings: { filterPaneEnabled: false, navContentPaneEnabled: false } };