Forum Discussion

Anurag's avatar
Anurag
Regular Visitor
3 years ago
Solved

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!
  • Anurag's avatar
    2 years ago

    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.