Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Hiding filter pane in Embedded

Hi All,

 

I have a situation where I can see the filter pane in my embedded report whereas I have hid the pane in the Desktop and also can't see it in the Service. But I'm not sure why I'm seeing it on the embedded page.

 

Please refer the below 2 screenshots, Its clearly seen that in service filter pane is not seen but i can see it on the embedded page.

 

Can anyone help here? How to hide it on embedded page.

Embedded View:

 

Service View:

 

  • Hi Anonymous ,

     

     If you using Power BI Embed and developing an app,please refer to: 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.


    Best Regards,
    Liang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

1 Reply

  • V-lianl-msft's avatar
    V-lianl-msft
    Community Support

    Hi Anonymous ,

     

     If you using Power BI Embed and developing an app,please refer to: 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.


    Best Regards,
    Liang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.