cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MortenMou
Level: Powered On

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
Highlighted
PowerApps Staff dlannoye
PowerApps Staff

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

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
Highlighted
PowerApps Staff dlannoye
PowerApps Staff

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

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

MortenMou
Level: Powered On

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

Thank you dlannoye.

It now works perfectly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 146 members 5,570 guests
Please welcome our newest community members: