web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Color Code a Person fi...
Power Apps
Answered

Color Code a Person field set to "Pending"

(0) ShareShare
ReportReport
Posted on by

@RandyHayes 

 

Hello,

 

I have a gallery with a Mechanical Engineer column which is a person field. If an ME hasn't been assigned yet, the column is set to Pending as per this Text formula:

 

With({dn:Match(ThisItem.'ME Assigned'.DisplayName, "^.*\s.").FullMatch},
If(IsBlank(dn), "pending", dn & "."))

 

I would like to set any Pending items to Red so they stand out more as an item that needs to be addressed. Can someone help me figure out how to set the Color property to achieve this? Thank you, Teresa

 

GalleryME-SS.png

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @tagustin2020 

    Are you trying to set the label as red or the entire row?  Also, are you trying to Fill the color or just change the Text color?

     

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @tagustin2020 

    Just to cut to the chase on some of this...

     

    Set your appropriate property to the following:

    If you want the label to be filled with Red, then put this in your Fill Property: 

        If(Self.Text = "pending", Red, Transparent)

     

    If you want the label to be the color, then put this in your Color Property: 

        If(Self.Text = "pending", Red, Black)

     

    If you want the Row to be filled with Red, then put this in your TemplateFill Property of the Gallery: 

        If(yourMELabelName.Text = "pending", Red, Transparent)

     

     

     

     

  • tagustin2020 Profile Picture
    on at

    @RandyHayes 

     

    Thank you Randy. I appreciate you providing solutions for all 3 scenarios. I applied the one to change the color of the text and it worked perfectly!

     

    Kind regards,

    Teresa

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 273

#3
Kalathiya Profile Picture

Kalathiya 232 Super User 2026 Season 1

Last 30 days Overall leaderboard