cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sd3474
Frequent Visitor

Icons with different colors dont match their rules

hello fellow developers, i need some help. i have this field in a table that is in percentage, i set rules to get red yellow and green shapes, but the rules are not followed in the result, any one possibily know why this is? i also tried removing the filters on the table, it also resulted in different icons but still inaccurate. below are screen shotslights.PNGrules.PNG

1 ACCEPTED SOLUTION
DataZoe
Super User
Super User

@sd3474 This is because the "percent" is relative of the range, not the actual value, so you should change the "percent" to "number".  So in this case, 0 NUMBER to 0.5 NUMBER for the red, 0.5 NUMBER to 0.75 NUMBER, and 0.75 NUMBER to 1 NUMBER for the green it should work as expected.

Respectfully,
DataZoe


See my reports and blog at https://www.datazoepowerbi.com/

View solution in original post

1 REPLY 1
DataZoe
Super User
Super User

@sd3474 This is because the "percent" is relative of the range, not the actual value, so you should change the "percent" to "number".  So in this case, 0 NUMBER to 0.5 NUMBER for the red, 0.5 NUMBER to 0.75 NUMBER, and 0.75 NUMBER to 1 NUMBER for the green it should work as expected.

Respectfully,
DataZoe


See my reports and blog at https://www.datazoepowerbi.com/

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.