Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello every one,
I create a custom visual and consult code from sampleBarChart in this link github.
https://github.com/microsoft/PowerBI-visuals-sampleBarChart/tree/condFormat/Tutorial
And I have a problem: when I switch to an existing visual, then switch back to my visual, the update function is not updated. Data is not rendered to the screen and there is no UI at all.
I want to know that how can i make my custom visual can auto update and render data when i reopen it after open another visual like table or matrix vusual, tks all
Solved! Go to Solution.
Hi @Anonymous
This is currently a known issue with the developer visual. The first update doesn't always run for some reason. You can force it by manually reloading, invoking a resize or changing a property to make it come up.
When you package your visual, this should work as expected, so I'd recommend you test this to ensure you are being affected in the same way as above (which will probably help you get on with developing your visual rather than worrying about something outside your control 🙂 ).
Cheers,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @Anonymous
This is currently a known issue with the developer visual. The first update doesn't always run for some reason. You can force it by manually reloading, invoking a resize or changing a property to make it come up.
When you package your visual, this should work as expected, so I'd recommend you test this to ensure you are being affected in the same way as above (which will probably help you get on with developing your visual rather than worrying about something outside your control 🙂 ).
Cheers,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |