Forum Discussion
Anonymous
1 year agoNot applicable
Missing Navigation Pane in Mobile Layout Powerbi Ebedded
i cant show navigation pane in mobile layout even with this config it only works in desktop layout
settings: {
navContentPaneEnabled: true,
layoutType: models.LayoutType.MobileLandscape,
panes: {
filters: {
visible: false
},
pageNavigation: {
visible: true,
position: 1
}
}
},
2 Replies
- AnonymousNot applicable
Hi Anonymous ,
You can try to follow this example to write embed code:
Embedding a Power BI report with mobile layout in Power BI embedded analytics | Microsoft Learn
// Get models. models contains enums that can be used. var models = window['powerbi-client'].models; var embedConfiguration = { type: 'report', id: reportId, embedUrl: embedUrl, tokenType: tokenType, accessToken: accessToken, settings: { layoutType: models.LayoutType.MobilePortrait } };Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
I am using that code , but doesnt appear the navigation pane, only on desktop layout it appear