Hello everyone, happy to be here!
I'm new on PowerApps and I'm struggling with an issue for hours now.
I want to set a field value to the current date & time via button. This field is a table field and I want to update it for each row I'm pressing the button.
Here is my code:
Set(CurrentDateTime, Now());
Update(ThisItem.Submitted, CurrentDateTime);
Refresh(expenses)
And here is a screenshot to understand my issue better:

Thanks in advance!