cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
apagan Regular Visitor
Regular Visitor

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.

 

screenshot_power_BI.png

4 REPLIES 4
kevhav Member
Member

Re: Hiding the Filters Panel

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.

apagan Regular Visitor
Regular Visitor

Re: Hiding the Filters Panel

We are using Power BI embeded.  I've read the provided page - I will give it a try and pass along the outcome.

 

Thanks.

Microsoft v-huizhn-msft
Microsoft

Re: Hiding the Filters Panel

Hi @apagan,

Welcome to share your solution if you have resolved your solution, so more people will appreciate your workaround.

Best Regards,
Angelia

solvisig Regular Visitor
Regular Visitor

Re: Hiding the Filters Panel

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
        }
    };

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)