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

Power BI is turning 10! Letโ€™s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Conditional formatting with only Negative Numbers with different Backcolours

I want to use different backgroundcolours for different RSSI values. (-90 DarkRed)(-60 Yellow) (-50 Green), but it seems negative numbers get only one fixed backgroundcolour as result. How can I solve this? I also tried to make rules, but that doesn't seem to work either.

2020-03-25_10h27_42.pngResults not what I wanted, should have been between yellow and red2020-03-25_10h29_43.png2020-03-25_10h29_25.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I found the problem thanks to your answer where you mention Sum, I just realised I forgot to make the Column a Integer and it was still a String. I think I overlooked it in the haste.

View solution in original post

5 REPLIES 5
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

Based on your description, I created data to reproduce your scenario.

Table:

a1.png

 

Then you may create a table visual, click 'RSSI' field =>'Conditional formatting'=>'Background color'.

a2.png

 

You may choose 'Format by Rules' and set as below.

A3.png

 

Result:

a4.png

 

Best Regards

Allan

 

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

 

Anonymous
Not applicable

The rules don't work. Could it have to do with the summarization field? Because I don't want to summarize the values. The value is being calculated in the query and isn't a measure that's made in Power BI.

 

2020-03-26_09h21_10.png2020-03-26_09h18_46.png

Hi, @Anonymous 

 

I have changed the language to fit your Power BI Desktop. Please set as follows.

g1.png

 

Result:

g2.png

 

Best Regards

Allan

 

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

 

Anonymous
Not applicable

I found the problem thanks to your answer where you mention Sum, I just realised I forgot to make the Column a Integer and it was still a String. I think I overlooked it in the haste.

amitchandak
Super User
Super User

Not able say without looking at data and formula. You can try creating absolute measure and use that for color formatting

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.