Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
apagan
Helper I
Helper I

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
solvisig
Advocate III
Advocate 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
        }
    };
kevhav
Continued Contributor
Continued 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.

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

 

Thanks.

Hi @apagan,

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

Best Regards,
Angelia

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.