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 / Updated DataCardValue ...
Power Apps
Unanswered

Updated DataCardValue resets after a couple of seconds

(1) ShareShare
ReportReport
Posted on by 25

Hello there, I have the following problem: I would be super excited if you could help me out.

 

I have a form that is connected to my Excel file with the columns ID and comment.

 

The form contains a datacard "comment," which I want to change in the app itself. Depending on the variable varID, I first want to filter the right row, if that makes sense. 

 

The form has the data source set to my excel file and the item setting to LookUp(myexelfiletable; ID = varID; ThisRecord).

 

I have a Save button that saves the new comment to my Excel file: 

 
Patch(myexcelfiletable; LookUp(myexcelfiletable; ID = varID); {Comment: DataCardValue.Text});
Refresh(myexceltable);;

 

Now I'm confused on what the setting should be so that whenever I change the text of the datacard, it is saved to the excel file and stays that way. 

 

I tried setting the datacard value to default = ThisItem.Comment, but whenever I change the comment, it is correctly saved to the excel file, but after a short period of time, the datacard value resets to its original value.

 

Say the original comment was: Comment 0.

 

I change the comment to CommentChange and press the save button. The excel file will show the newly updated comment in the correct column and row, but in the app itself, after 2 seconds, Comment0 is shown again.

 

I hope the question is formulated reasonably. Feel free to ask questions.

 

Categories:
I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard