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

Change Icon Color based on multiple icon color Value

Hi Experts, 

 

Really appreciate your help on this. Got a quick question -  How can I code the data to automatically change the color of icon (overall recommendation) as a conclusion result based on results of a group of icon colors? (assume will be using if/switch function)

 

overall recommendation icon color = Red, when one of predecessor/alternative check/market adoption icons is red, 

                                                         = Green, when all icons are green

 

i.e. 

aurora12234_0-1621321328934.png

 

Thank you!

2 ACCEPTED SOLUTIONS

Accepted Solutions
rizkyaditya
Resolver III
Resolver III

Hello @aurora12234 ,

 

Please try this for the OverallRecommendationIcon Fill property :

If(PredecessorCheckIcon.Fill = Green And AlternativeCheckIcon.Fill = Green And MarketAdoptionIcon.Fill = Green, Green, Red)

 

View solution in original post

CNT
Super User
Super User

@aurora12234 Use this formula for the Fill property of your overall recommendation icon

If(ico1.Fill=Red||ico2.Fill=Red||ico3.Fill=Red,Red,If(ico1.Fill=Green&&ico2.Fill=Green&&ico3.Fill=Green,Green))

View solution in original post

5 REPLIES 5
rizkyaditya
Resolver III
Resolver III

Hello @aurora12234 ,

 

Please try this for the OverallRecommendationIcon Fill property :

If(PredecessorCheckIcon.Fill = Green And AlternativeCheckIcon.Fill = Green And MarketAdoptionIcon.Fill = Green, Green, Red)

 

View solution in original post

CNT
Super User
Super User

@aurora12234 Use this formula for the Fill property of your overall recommendation icon

If(ico1.Fill=Red||ico2.Fill=Red||ico3.Fill=Red,Red,If(ico1.Fill=Green&&ico2.Fill=Green&&ico3.Fill=Green,Green))

View solution in original post

Thank you so much, it's working now!!

Thank you so much for your help, it's working now!

@aurora12234 Glad to help. 😊

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,795)