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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

powerbi-visuals-tools 4.0.4 fails to create custom formatting options

I switched from powerbi-visuals-tools@3.1.18 to 4.0.4 and now my custom visual doesn't load the custom formatting options. I haven't changed anything in my settings.ts, capabilities.json and visual.ts. It used to show the objects in the format pane before, but fails here: https://github.com/microsoft/powerbi-visuals-utils-dataviewutils/blob/master/src/dataViewObjectsPars... with the below callstack now:

TypeError: Class constructor DataViewObjectsParser cannot be invoked without 'new'
    at new VisualSettings (<anonymous>:740:47)
    at Function.getDefault (<anonymous>:16518:16)
    at Function.parse (<anonymous>:16527:41)
    at Visual.update (<anonymous>:822:51)

 
Please help.

Thank you

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

Please refer the following links to get the latest version of PowerBI Visual Tools (pbiviz) and check whether it can work well.

Change Log - PowerBI Visual Tools (pbiviz)

yingyinr_0-1651653309033.png

PowerBI-visuals-tools

powerbi-visuals-tools versions 

Best Regards

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.