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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone,
I’m facing an issue with a Power BI custom visual update and wanted to see if anyone has experienced something similar.
Here’s what’s happening:
I made changes to an existing custom visual
I packaged the visual and uploaded the new .pbiviz file
Power BI replaces the old visual, but the new changes do not appear even If I interact with the visual
It looks like the older version/instance is still being used
However, if I:
create a new instance of the visual, or
navigate to another visual and come back
then the new changes work correctly
So it seems like Power BI is caching the visual or not refreshing the visual instance properly after the update.
Has anyone encountered this before?
Any suggestions on how to force Power BI to fully reload the updated custom visual would be greatly appreciated.
Thanks in advance!
Hi @wolfgang2 , Hope you are doing well. Kindly let us know if the issue has been resolved or if further assistance is needed. Your input could be helpful to others in the community.
Hi @wolfgang2 , hope you are doing great. May we know if your issue is solved or if you are still experiencing difficulties. Please share the details as it will help the community, especially others with similar issues.
Hi @wolfgang2,
I hope you are doing well today ☺️❤️
So what i will tell you is just a workaround (not an approach but try it):
So Final Notes you should take care of it in the future:
I hope this works for you ☺️❤️
Hi @wolfgang2 , Thank you for reaching out to the Microsoft Community Forum.
Power BI does not guarantee that an existing visual instance will be destroyed and when you upload a new .pbiviz with the same visual GUID, Power BI does not guarantee that existing visual instances on the report will be destroyed and recreated. The platform controls the visual lifecycle and may keep the existing instance alive, invoking update() but not the constructor.
This is why changes only appear after creating a new visual instance, switching visuals or reopening the report, those actions trigger a fresh instantiation. There is no supported mechanism to force Power BI to fully reload an already placed visual. As a result, custom visuals must handle all state and rendering logic inside update() and developers should not rely on constructor only initialization for changes to apply to existing visuals.
Visual API for Power BI Visuals - Power BI | Microsoft Learn
Power BI visual system integration - Power BI | Microsoft Learn
Power BI Custom Visuals – Data Visualization Tools | Power BI
We are not extensively relying on the constructor, only thing in the constructor are the required initializations like selectionManager, tooltipServiceWrapper and the main svg containers and groups (to avoid re-rendering on each update tick). I have license enforcement logic in the update() method itself which is not working. I've also tried console.log()/debug() and nothing gets logged in the browser console. Even the formatting settings are not updated:
The new version (4.8.3.8) does not show up.
It doesn't matter if I interact with the visual or change data in the field wells.
Hi @wolfgang2 , Thank you for reaching out to the Microsoft Community Forum.
From what you are saying, the About pane still shows the old visual version and none of the new logs or formatting metadata appear. That means the updated .pbiviz package is not being loaded at all for the existing visual instance, so your new update() code never executes.
Power BI does not guarantee that visuals already placed on a report will be rebound to a newly uploaded package when the visual GUID remains the same. In that case, it can continue running the previously loaded bundle. Creating a new visual instance, switching visuals or reopening the report forces a fresh instantiation, which is why the new version works in those scenarios. There is currently no supported way to force an in place reload of an already placed custom visual. Removing and re-adding the visual (or changing the GUID during development) is the only reliable way to apply the updated package.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |