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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
JimB-GA
Helper III
Helper III

conditionally format a card for black if positive, red if negative

I have read through previous notifications from others regarding conditional formatting, but have been unable to find what I am looking for.

 

I have a card that shows a measure for gain or loss and want to format accordingly.  Is there a simple solution?  I cannot find a conditional formatting option for a measure.  

 

Thanks

 

Jim

 

5 REPLIES 5
v-juanli-msft
Community Support
Community Support

Hi @JimB-GA 

Give you a small example

table

product month gain or less
a 1 30
a 2 -20
a 3 40
b 1 -10
b 2 10
b 3 20

 

12.png

10.png11.png

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-juanli-msft
Community Support
Community Support

Hi @JimB-GA 

Could you show an example of your data?

Which is the measure "gain" or "less"?

It is a measure of text or number?

 

Best Regards

Maggie

dedelman_clng
Community Champion
Community Champion

Go to the custom app marketplace and look for "Card With States" by OKViz. 

I've downloaded the visual but cannot find any documentation.

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

 

There are a couple of blog posts there on how to use it.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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