Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hei
What is the best way to call -> public update(options: VisualUpdateOptions) without resizing
Thanks in advance 🙂
Solved! Go to Solution.
The update method is called every time any filter or selection is applied or there's a change in Formatting Panel for this visual.
You can call it whenever you want from your code. You just need to keep the update options or split update method into a few methods. We usually split update into the update and render.
The update indicates a change in data. The render indicates a rendering flow.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Do you want to avoid calling the update method if a user resizes your visual?
If so, you can detect a type of update by using VisualUpdateOptions.type (you get VisualUpdateOptions in the update method).
The type allows detecting an update type.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Nope
I want to call it when ever i want to, lets say i select a dropdown value and after that i need update method to be triggered.
Thanks.
The update method is called every time any filter or selection is applied or there's a change in Formatting Panel for this visual.
You can call it whenever you want from your code. You just need to keep the update options or split update method into a few methods. We usually split update into the update and render.
The update indicates a change in data. The render indicates a rendering flow.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 |