Forum Discussion

apenaranda's avatar
apenaranda
Icon for Post Partisan rankPost Partisan
2 years ago

embedded vista mobil panel powerbi

Hello,

I currently embed reports in python code.
Could I also do embedded panels like the one I attached captures but in the mobile view?

thank you.

 

 

 

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi apenaranda ,

    It is possible to embed Power BI reports and dashboards in mobile applications using the Power BI Embedded API. You can use the API to create a custom mobile application that displays Power BI content in a mobile-friendly format. To get started with embedding Power BI content in a mobile application, you will need to create a Power BI Embedded workspace and register your application with Azure Active Directory. Once you have done this, you can use the Power BI Embedded API to authenticate users and retrieve Power BI content. You can refer the following official documentation to get it.

    Embedding a Power BI report with mobile layout in Power BI embedded analytics | Microsoft Learn

    let embedConfig = {
        ...
        settings: {
            layoutType: models.LayoutType.MobilePortrait
        }
    };

    Best Regards

    • apenaranda's avatar
      apenaranda
      Icon for Post Partisan rankPost Partisan

      Thanks for the response but I have already tried what you are saying with both panels and reports and there is no way. No matter how much I put layoutType: models.LayoutType.MobilePortrait, the report appears in desktop view. The curious thing is that in the browser console I see that it does take the layouttype mobileportrait option but it still does not make it visible.