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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
LortT
Frequent Visitor

PowerBi - Rerender data when change visuals

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.

LortT_1-1732083667590.png

LortT_2-1732083690844.png

LortT_0-1732083654465.png

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

 

1 REPLY 1
dm-p
Super User
Super User

Hi @LortT 

 

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





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

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


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




Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

Top Solution Authors