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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Fusilier2
Helper V
Helper V

Help with dynamic icon rules

This is a really basic question but I'm struggling with this!.

I'm trying to dynamically show icons depending on value.

>0

=0

<0

This are the rules I have tried but they don't seem to be working properly seem to be working:

Capture.PNG

Can anybody see where I have gone wrong please?

 

 

 

2 ACCEPTED SOLUTIONS
SamWiseOwl
Super User
Super User

Hi @Fusilier2 
Remove the below 0 first, then the equal to zero then the greater than zero.

SamWiseOwl_1-1754657406698.png

 

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

jaineshp
Memorable Member
Memorable Member

Hey @Fusilier2,

Change the second rule i.e., If value ≥ Min and ≤ Max

to : - If value > 0 AND ≤ Max → Green

To avoid overlapping with the amber rule for zero, you must exclude 0 from the green rule.

 

Fixed? ✓ Mark it • Share it • Help others!

 

Best Regards,
Jainesh Poojara | Power BI Developer

View solution in original post

4 REPLIES 4
rohit1991
Super User
Super User

Hi @Fusilier2 

Could you please try below. I've tested this and it is working fine. I've also attached output screenshot for your reference.

 

  1. Green (value > 0)

    • If value is greater than 0 and less than or equal to Max.

  2. Amber (value = 0)

    • If value is equal to 0.

  3. Red (value < 0)

    • If value is greater than or equal to Min and less than 0.

 

Conditional Fomatting Popup Screenshot

Conditional Formatting Formula.jpg

 

 

Sample Output Data Screenshot

Output.jpg

 


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
jaineshp
Memorable Member
Memorable Member

Hey @Fusilier2,

Change the second rule i.e., If value ≥ Min and ≤ Max

to : - If value > 0 AND ≤ Max → Green

To avoid overlapping with the amber rule for zero, you must exclude 0 from the green rule.

 

Fixed? ✓ Mark it • Share it • Help others!

 

Best Regards,
Jainesh Poojara | Power BI Developer

SamWiseOwl
Super User
Super User

Hi @Fusilier2 
Remove the below 0 first, then the equal to zero then the greater than zero.

SamWiseOwl_1-1754657406698.png

 

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Thomaslleblanc
Super User
Super User

If the Min value is less than 0, you have a problem with 2 rules able to display. The first would be picked.

Maybe use:

1. Red - If value >= -9999999 and < 0

2. yellow if value = 0

3. green if value > 0 and <= MAX

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors