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

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.

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.