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 / timestamp when changin...
Power Apps
Answered

timestamp when changing field

(1) ShareShare
ReportReport
Posted on by 557
trying to time stamp the current time into the Resolved Date field (Datacardvalue1) when the Status field (datacardvalue30) changes to 'Resolved' or 'Resolved - No Call Needed'

Categories:
I have the same question (0)
  • Suggested answer
    Ajlan Profile Picture
    235 on at
    Hello,
     

    Steps:

    1. Set the OnChange property of the DatacardValue30 (Status field) to check for the status change and update the Resolved Date accordingly.

    2. Use the If condition to check if the Status field has changed to 'Resolved' or 'Resolved - No Call Needed'. If true, set the Resolved Date to the current time.

    Here is the formula you can use for the OnChange property of DatacardValue30:
     
    If(
    Or(
    DatacardValue30.Selected.Value = "Resolved",
    DatacardValue30.Selected.Value = "Resolved - No Call Needed"
    ),
    Patch(
    YourDataSource,
    ThisItem,
    { ResolvedDate: Now() }
    )
    )


    Cheers 🎉
  • Verified answer
    timl Profile Picture
    36,682 Super User 2026 Season 1 on at
     
    On way to do this is to set the Default property of your Resolved Date control to this:
     
    If(
       Or(
          DatacardValue30.Selected.Value = "Resolved",
          DatacardValue30.Selected.Value = "Resolved - No Call Needed"
       ),
       Now()
    )
    Next, set the OnChange property of your status dropdown to this:
     
    Reset(Datacardvalue1)
    This should then reset the date when the dropdown changes.
  • joel914823 Profile Picture
    557 on at
    Hello timl,
     
    Is there a way that it just captures the time and not reset it - I tried to omit the part where it resets but seems that when we change the status - it then clears out the field back to blank.  
  • timl Profile Picture
    36,682 Super User 2026 Season 1 on at
    Hi @joel914823
     
    I'm not sure what you mean by this. Can you clarify? 
     
    Are you saying that once the Resolved Date value is set by choosing Resolved or 'Resolved - No Call Needed', subsequently changing the value in the dropdown should not change the value in Resolved Date?
  • joel914823 Profile Picture
    557 on at
    Hello timl,
     
    That is correct.  If update the status  to Resolved - it should capture the current time.    
     
    If later the status is then updated to "Not Started" the resolved date field should still show the time captured previously and not clear out or go blank.
  • joel914823 Profile Picture
    557 on at
     timl   any help on this would be greatly appreciated.
  • Suggested answer
    timl Profile Picture
    36,682 Super User 2026 Season 1 on at
     
    Apologies for the delay in getting back to your last question.
     
    To resolve this, you can set the OnChange property of your status dropdown to this:
     
    If(Datacardvalue1.Text = "",
       Reset(Datacardvalue1)
    )
     
    By doing this, it won't be reset if there's already a value.

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
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard