Forum Discussion
Hiding filter pane in Embedded
- 4 years ago
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.
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.