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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.