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

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

Reply
Anonymous
Not applicable

Update call is taking time after constructor call in custom visual

Hello All,

We are facing the below mentioned issues in our custom visual:

 

1.   After the constuctor method, update method isn't getting called spontaneously. It is taking approximately 3 seconds for getting called.

  • Warnings: Violation warnings are being prompted and it is taking time to load:

Visual.png

  • Load Handler: Load handler is taking around 3 seconds and setTimeout handler is taking around 2 seconds

  • Please find the code for constructor and update method

Constructor.png

Update.png

  • Please suggest how can we reduce the update call time & how can we remove/reduce the time gap between Constructor & update method. 

2. Update Method: The update method is getting called twice

  • In the first call, 'dataView' values are being returned as undefined:undefined.png
  • The second call is automatic and doesn't require any intervention. In the second call, the 'dataView' values returned would not be undefined. 
0 REPLIES 0

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Users online (15,567)