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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
danieleperilli
Kudo Commander
Kudo Commander

persistProperties with empty dataview

I noticed strange behavior when the new "empty dataview" feature is enabled. 

It appears that calling the host.persistProperties method when there is no data associated with a visual doesn't trigger any update/refresh (and the passed properties are not saved). Is it intentional or is it a bug?

6 REPLIES 6
Anonymous
Not applicable

Hi @danieleperilli,

I suppose it may be triggered by visual render and initialize if that feature takes the same logic as visuals initializations.

You can also take a look at following document about power bi visual concepts if helps:

Power BI visuals concepts - Power BI | Microsoft Docs

Regards,

Xiaoxin Sheng

I'm sorry, I don't understand your answer.

If there is no data associated with the visual (and the visual now supports it thanks to the "supportsEmptyDataView" flag) and you call host.persistProperties (...), the visual does not save the passed data as usual. With regular data binding, persistProperties saves the passed properties and triggers the Update event, without data this does not happen.

Anonymous
Not applicable

Hi @danieleperilli,

So you mean this issue appears when you enable the flag? If that is the case, perhaps you can try to contact to power bi custom visual team to report this scenario.

Regards,

Xiaoxin Sheng

Ok, thanks. I will contact them directly.

Have you received any useful information from the powerbi custom visual team?

 

Sort of 🙂 They said it is expected behavior, but they will fix it. No ETA was provided, unfortunately.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.