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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Asgar
Frequent Visitor

How do I implement conditional formatting for icons in PowerBI Custom Visual?

The conditional formatting documentation says we can use conditional for color, text, icon, and web URL, but there are examples only for color. There is no such documentation for implementing an icon or web URL. Any guidance on implementing the same would be greatly appreciated! Thank you for your attention to this matter.

3 REPLIES 3
qqqqqwwwweeerrr
Solution Sage
Solution Sage

Hi @Asgar 

 

Can you explain what you want to achieve?

 

Regards

I'm trying to achieve the same as @Asgar. When you implement condition formatting on a property by specifying its instaceKind using the VisualEnumerationInstanceKinds enum, by default the conditional formatting settings will apply to colors. We are looking for how to customize(?) the conditional formatting window, as it's different for colors, icons, and web URLs.

I was going through the documentation as well as the API code, but couldn't find any ways to specify what type of conditional formatting window should pop up in my custom visual.

 

Any help would be much appreciated.

 

formatting icon.PNG

I want to have this icon formatting option. How can I get it in my custom visual?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors