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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
Microsoft Employee
Microsoft 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
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.