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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
dinovic
Frequent Visitor

Conditional Formatting Card

I have a measure displayed in a card visualization.  The measure is ([Revenue January] / [Revenue December]) - 1 , displaying the %diff this month compared to previous month. Now, I would like this Card visual, or any other available custom visual, to be displayed in Green or Red font, depending on the value. A very easy thing to do in excel, but cant seem to find any decent solution in Power BI.

Anyone know how to solve this? Is there any custom visual out there that solves this problem?

Thanks

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

@dinovic

Try the Card with States Custom Visual I think you'll like it

 

I personally use it a lot and now with the latest release its even better!

 

However download it from here to make sure you have the latest version

http://okviz.com/card-with-states/

 

Good Luck! Smiley Happy

View solution in original post

3 REPLIES 3
shaunwilks
Helper V
Helper V

Probaby not around when this was posted but there is a "Advance Card" in the marketplace that has some controlling over the colouring given specific conditions.

 

It seems to work pretty well so far.

You get to specify a Measure for the display and set a different measure for the condition.

 

So in my case iver used a UNICHAR character in the display, and the numerical value in the condition.

Means I display up arrows, down arrows or side arrows, and then can change the colours of those unichar characters very easily in the conditions section of the control.

Sean
Community Champion
Community Champion

@dinovic

Try the Card with States Custom Visual I think you'll like it

 

I personally use it a lot and now with the latest release its even better!

 

However download it from here to make sure you have the latest version

http://okviz.com/card-with-states/

 

Good Luck! Smiley Happy

dkay84_PowerBI
Microsoft Employee
Microsoft Employee

Instead of using the Card visual, use the KPI visual

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.