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
Pinky0404
Helper III
Helper III

Color Format

Hi,

 

I created a column called "Compliance" which has "In Compliance" and "Out of Compliance" values based on the dates(start date and end date).

1)I want to highlight the column values which are only "Out of Compliance" with Red color. Is that possible in a Matrix?

2) Also i want to show the blank values from column Compliance as "Zero"

 

Thanks in Advance!!

1 REPLY 1
v-jiascu-msft
Employee
Employee

Hi @Pinky0404,

 

1. I'm afraid we can't format strings by now. You can vote this idea. Maybe there is a workaround. You can add another column to show up the color.

Color =
IF ( [Compliance] = "Out of Compliance", 1, 0 )

Color Format.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2. You can add this part into the formula like this:

Compliance =
IF (
    [Column1] = 1,
    "In Compliance",
    IF ( ISBLANK ( [Column1] ), "Zero", "Out of Compliance" )
)

Best Regards!

Dale

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

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.