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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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 and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.