cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Conditional Formatting on range of negative numbers

Hi Everyone,

 

I have a range of negative numbers and I want to set the background color of the values based on the group. I tried using conditional formatting features but I can use the feature only on positive numbers and having a tough time using it on negative numbers.

 

Example:

-1 to -10 -> Blue

-11 to -20 -> Green

-21 to -30 -> Red

 

Sample Dataset

CityNumber
London-12
Miami-16
Bangalore-29
Chennai-06

 

1 ACCEPTED SOLUTION
Super User II
Super User II

HI @nikeshv 

Check this conditional formatting rule.

pranit828_0-1598563587499.png

pranit828_1-1598563599817.png

pranit828_2-1598563614400.png

 





Hope it resolves your issue? 
Please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos, Press the thumbs up button!!👍
Regards,
Pranit

View solution in original post

2 REPLIES 2
Super User II
Super User II

HI @nikeshv 

Check this conditional formatting rule.

pranit828_0-1598563587499.png

pranit828_1-1598563599817.png

pranit828_2-1598563614400.png

 





Hope it resolves your issue? 
Please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos, Press the thumbs up button!!👍
Regards,
Pranit

View solution in original post

@pranit828 

 

Thanks that worked for me, I had done the same thing but my number was interchanged so it was throwing the error.

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors