cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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 @Anonymous ,

 

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

@Anonymous 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

7 REPLIES 7
rizkyaditya
Resolver III
Resolver III

Hello @Anonymous ,

 

Please try this for the OverallRecommendationIcon Fill property :

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

 

CNT
Super User
Super User

@Anonymous 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))

Anonymous
Not applicable

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

Anonymous
Not applicable

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

@Anonymous Glad to help. 😊

Thank for your help. It helped a lot too.

Thank for your help. It helped a lot too.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,219)