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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

October NL Carousel

Fabric Community Update - October 2024

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