Skip to main content
Community site session details

Community site session details

Session Id : vF4U7NIqRl6h3T54GDFIxz
Power Apps - Building Power Apps
Answered

Change background color if date has passed

Like (0) ShareShare
ReportReport
Posted on 27 Dec 2022 17:20:10 by

Hi

I'd like to make a formula on the "Fill" of the background button of this gallery of my powerapp, so if the date on the "DATA APRESENTAÇÃO" column has passed, the background button turns Yellow, is it possible?

 

guquo_1-1672161568990.png

 

  • Community Power Platform Member Profile Picture
    on 28 Dec 2022 at 13:00:47
    Re: Change background color if date has passed

    Worked! Thank you 🙂

  • Verified answer
    CU-18081211-6 Profile Picture
    9,266 Moderator on 27 Dec 2022 at 17:42:38
    Re: Change background color if date has passed

    @Anonymous ,

    Yes … Fill property should be:

    If(ThisItem.’Date …’<Today(), Yellow, Green)

    Hope it helps !

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete