Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Is there a way to know when a custom visual is being rendered inside the mobile layout? Like some boolean inside VisualUpdateOptions for example.
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.
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
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.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |