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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
mikihiir
Helper III
Helper III

Call public update(options: VisualUpdateOptions)

Hei

 

What is the best way to call  -> public update(options: VisualUpdateOptions)  without resizing

 

Thanks in advance 🙂

 

1 ACCEPTED SOLUTION
v-viig
Community Champion
Community Champion

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

pbicvsupport@microsoft.com

View solution in original post

3 REPLIES 3
v-viig
Community Champion
Community Champion

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

pbicvsupport@microsoft.com

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.

v-viig
Community Champion
Community Champion

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

pbicvsupport@microsoft.com

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (27)