Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Unanswered

Display different Power BI dashboards on Power apps Portal based on window size

(0) ShareShare
ReportReport
Posted on by 18

Hello Community Experts,

Could anyone please suggest me, is it possible to display different power bi dashboards based on window size? For example is it possible to show a different Power Bi dashboard for mobile devices and for desktop using Power Apps portal?

Your help is greatly appreciated!

Thank you!

  • PowerappsUser06 Profile Picture
    18 on at
    Re: Display different Power BI dashboards on Power apps Portal based on window size

    Hi @v-xida-msft ,

    I wanted to display two different dashboards for browser and mobile phone screens, Could you please help me on this? What will be the page size for browser window and for mobile phone screens?

    Your help is greatly appreciated!

    Thank you!

  • v-xida-msft Profile Picture
    on at
    Re: Display different Power BI dashboards on Power apps Portal based on window size

    HI @PowerappsUser06 ,

    Could you please share a bit more about your scenario?

    Do you want to display different Power BI Dashboard in your Portal screen based on the window size?

     

    Regarding the needs that you mentioned, I think the Liquid expression in Portal could achieve your needs. I have made a test on my side, please try the following workaround:

    2.JPG

    Go to your Portal Designer, then find the screen which you want to display your Power BI Dashboard. Click "Source Code Editor" in bottom of your designer screen. Then Type the following formula:

    {% assign pagesize = settings['page size'] | integer | default: 10 %}
    {% if pagesize > 10 %}
    {% powerbi authentication_type:"powerbiembedded" path:"https://app.powerbi.com/groups/d624c984-9194-404b-9a0b-33cca3d88c6b/reports/c71d64d8-f61d-43bf-ab3b-f35a116ee4cb/ReportSection1" %}
    {% elsif pagesize > 5 and pagesize <= 10 %}
    {% powerbi authentication_type:"powerbiembedded" path:"https://app.powerbi.com/groups/d624c984-9194-404b-9a0b-33cca3d88c6b/reports/c71d64d8-f61d-43bf-ab3b-f35a116ee4cb/ReportSection2" %}
    {% else %}
    {% powerbi authentication_type:"powerbiembedded" path:"https://app.powerbi.com/groups/d624c984-9194-404b-9a0b-33cca3d88c6b/reports/c71d64d8-f61d-43bf-ab3b-f35a116ee4cb/ReportSection3" %}
    {% endif %}

    Please consider use the powerbi liquid tag to embed your Power BI Dashboard into your Portal screen, please check the following article:

    https://docs.microsoft.com/en-us/powerapps/maker/portals/liquid/portals-entity-tags#powerbi

     

    Please try above solution, then check if the issue is solved.

     

    Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35