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

Marking "true" & "false" with different colors in the BrowseScreen

Hi.

 

I have an app to keep track on what has been done during a project. In the gallery view i have an overview of all the items that have to be done.

 

I want to make all the checkmark "true" & "false" different colors.

 

true = green

false = red

 

I am guessing that i need an "if(ThisItem.******" something in the color field on each Label, but i cannot seem to get it working.

 

Can anyone help me with this? This is the overview, if you need more information let me know.

 

Capture.JPG

 

BR.

Morten

1 ACCEPTED SOLUTION

Accepted Solutions
dlannoye
Power Apps
Power Apps

Have you tried something like the following as the expression for the Color:

If(ThisItem.*****, RGBA(0,255,0,1), RGBA(255,0,0,1))

View solution in original post

2 REPLIES 2
dlannoye
Power Apps
Power Apps

Have you tried something like the following as the expression for the Color:

If(ThisItem.*****, RGBA(0,255,0,1), RGBA(255,0,0,1))

Anonymous
Not applicable

Thank you dlannoye.

It now works perfectly.

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.

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 (3,417)