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.

View solution in original post

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.

View solution in original post

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.
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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,969)