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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
SonaliDhotre
Advocate I
Advocate I

Property 'VisualEnumerationInstanceKinds' does not exist on type 'typeof powerbi'

I am trying to have conditional formatting in place for a custom visual. I am getting the following error when I am trying to follow the documentation.

 

Property 'VisualEnumerationInstanceKinds' does not exist on type 'typeof powerbi'

 

Can you please help me with this?

1 ACCEPTED SOLUTION
SonaliDhotre
Advocate I
Advocate I

Thanks, It got resolved. I was using an older version 2.6.1. Updating it to 3.4.0 helped.

View solution in original post

3 REPLIES 3
SonaliDhotre
Advocate I
Advocate I

Thanks, It got resolved. I was using an older version 2.6.1. Updating it to 3.4.0 helped.

v-kkf-msft
Community Support
Community Support

Hi @SonaliDhotre ,

 

Please see if these documentations are helpful.

 

https://docs.microsoft.com/en-us/power-bi/developer/visuals/conditional-format 

Adding conditional formatting to your Visual 

Solved: Custom Visual Setup Exceptions (pbi-visuals-api 2.2.2, pbi-visuals-utils-dataviewutils 1.5.0... 

 

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@SonaliDhotre , seem like faced long back by someone, See if that can help

https://stackoverflow.com/questions/46460956/error-property-visual-does-not-exist-on-type-typeof-bar...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.