Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
wolfgang2
Frequent Visitor

Mobile Layout

Is there a way to know when a custom visual is being rendered inside the mobile layout? Like some boolean inside VisualUpdateOptions for example.

3 REPLIES 3
wolfgang2
Frequent Visitor

I was talking about the code. How do I know programmatically that the visual is now in mobile layout. The VisualUpdateOptions object has flags for focus mode etc but no info regarding mobile layout. I am developing a custom visual that needs to be rendered differently in mobile layout.

Expiscornovus
Most Valuable Professional
Most Valuable Professional

Apologies, I misunderstood. I thought this was an interface related question. My bad.

Not sure if their is one specific attribute for this. However, you might be able to figure this out be the touch related events mentioned in this section of the documentation. I assume an event like touchmove typically happens on a mobile layout.

https://learn.microsoft.com/en-us/power-bi/developer/visuals/mobile-development

 



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel
Expiscornovus
Most Valuable Professional
Most Valuable Professional

Hi @wolfgang2,

 

You can switch to the mobile layout in your Power BI desktop or Power BI service designer and have a look in the Page visuals pane.

 

That should show which visuals haven't been added to the mobile layout yet.

https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-create-mobile-optimized-report-mo...

 

 

visiblehidden.png



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors