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
valkn
Frequent Visitor

Conditional formatting

I have a table and one of the columns in the table is StatNo which would have a value of 1, 2 or 3. I want the cell to be colored as follows:

1- Green

2- Yellow

3-Red

I set up my conditional formatting as follows:

 ScreenHunter_01 Jun. 05 09.14.jpg

But it results in the following:

ScreenHunter_02 Jun. 05 09.14.jpg

Is it possible to get the results I am looking for?

1 ACCEPTED SOLUTION
az2451
Resolver I
Resolver I

I sure believe this is possible.

 

Did you checked whether StatNo column is formatted as number and not as text?

 

You may also want to change Summarization to Sum.

 

 

Regards,

Berat

View solution in original post

3 REPLIES 3
az2451
Resolver I
Resolver I

I sure believe this is possible.

 

Did you checked whether StatNo column is formatted as number and not as text?

 

You may also want to change Summarization to Sum.

 

 

Regards,

Berat

valkn
Frequent Visitor

I switched it to Whole Numbers but I can't do it as Sum because in the case where there were multiple of the same in the Applicaiton field, it produced a sum number in the StatNo field so I have it as Don't Summarize which after adding an additional column produces  what I am looking for so Thank You!     Another question - is there a way to have it sort so that the highest StatNo is at the top of the list?

valkn
Frequent Visitor

To clarify - if possible I would like to have it automatically sort. I know I can click the header and sort it.

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.