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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Fill Label if older th...
Power Apps
Answered

Fill Label if older than 30 days

(0) ShareShare
ReportReport
Posted on by 643

I have a label that is the created date of an item. I have the below:

 

jamescosten_0-1684420100860.png

 

I would like it to chnage red if older than 30 days. Where do i add the -30 i guess thats how it will work.

Categories:
I have the same question (0)
  • Verified answer
    Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    Hi @jamescosten ,

     

    You mean you want to check if whatever date is in Label25_1 is equal to or greater than 30 days from Today's date?

    If yes, you could try something like:

     

    If(
     DateValue(Label25_1.Text) >= DateAdd(
     Today(),
     30
     ),
     Color.Red,
     Color.Transparent
    )

     

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution

    If you like my response, please give it a Thumbs Up.


     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 372 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 303 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 238 Super User 2026 Season 1

Last 30 days Overall leaderboard