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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anurag
Regular Visitor

How to call the public update (options: VisualUpdateOptions) from constructor?

Hi, Team

 

Whenever I switched from page 1 to page 2 in power bi visuals, my custom visual will disappear when coming back to page 1, How can we retain it when switching?

 

Thank you!

1 ACCEPTED SOLUTION
Anurag
Regular Visitor

This issue arises specifically when utilizing the developer visual, the initial step is to package the visual into a .pbiviz file. Afterward, import this .pbiviz file into Power BI, and then test it. You'll likely find that the problem has been resolved.

  • Begin by packaging the developer visual into a .pbiviz file.
  • Import the .pbiviz file into Power BI.
  • Test the visual within Power BI.
  • It's likely that you'll find the problem has been resolved.

 

View solution in original post

3 REPLIES 3
Anurag
Regular Visitor

This issue arises specifically when utilizing the developer visual, the initial step is to package the visual into a .pbiviz file. Afterward, import this .pbiviz file into Power BI, and then test it. You'll likely find that the problem has been resolved.

  • Begin by packaging the developer visual into a .pbiviz file.
  • Import the .pbiviz file into Power BI.
  • Test the visual within Power BI.
  • It's likely that you'll find the problem has been resolved.

 

BramSchreuder
Regular Visitor

Bumping As I have the same problem. Anyone figured it out yet? I'm trying to figure out how to call the update when revisiting the page with the visual

If this happens when using the developer visual, many of us seem to be having this problem. If you package your visual into a .pbiviz, the problem won't occur (at least it doesn't for me).

 

For debugging using the developer visual, the current workaround seems to be to force-update your visual, such as doing a manual resize. This will work as intended until another page change is needed.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors