web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Display different Powe...
Power Pages
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!

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    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,

  • PowerappsUser06 Profile Picture
    18 on at

    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!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 70 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard