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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Super User
Super User

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.