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

Color depending on whether I approve or reject in powerapps gallery

Color depending on whether I approve or reject in powerapps gallery,  that field is automatically populated with a sharepoint list and a approval flow

list.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Color depending on whether I approve or reject in powerapps gallery

@DavidGarcia1 

If it is the entire row that you want to color differently, then consider looking at the TemplateFill property of the gallery.

In there you can put a formula similar to this (alter for your data):

If(ThisItem.Estatus="Approved", Green, White)

This will make the row green if Approved and White if not.

If the Estatus column is a choice column (and not a text column), then you might need to alter your formula above to this:

If(ThisItem.Estatus.Value="Approved", Green, White)

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
5 REPLIES 5
Super User
Super User

Re: Color depending on whether I approve or reject in powerapps gallery

@DavidGarcia1 

If it is the entire row that you want to color differently, then consider looking at the TemplateFill property of the gallery.

In there you can put a formula similar to this (alter for your data):

If(ThisItem.Estatus="Approved", Green, White)

This will make the row green if Approved and White if not.

If the Estatus column is a choice column (and not a text column), then you might need to alter your formula above to this:

If(ThisItem.Estatus.Value="Approved", Green, White)

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
DavidGarcia1
Level: Powered On

Re: Color depending on whether I approve or reject in powerapps gallery

This is the result jejeprueba.PNG

Super User
Super User

Re: Color depending on whether I approve or reject in powerapps gallery

@DavidGarcia1 

Is that what you were looking for, or something similar to that?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Highlighted
DavidGarcia1
Level: Powered On

Re: Color depending on whether I approve or reject in powerapps gallery

Not exactly, but he helped me find the solution

great.PNG

Super User
Super User

Re: Color depending on whether I approve or reject in powerapps gallery

@DavidGarcia1 

Gotcha!  I wasn't clear in your original question which you wanted to change the color on, so I went with the one I hear the most request for...

Glad it at least helped you get to the Color property of that label.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 396 members 5,696 guests
Recent signins:
Please welcome our newest community members: