Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

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

  • 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.

    • MichalStepanek's avatar
      MichalStepanek
      Frequent 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.

  • Anonymous's avatar
    Anonymous
    Not applicable

     

     

    click here close to eye icon