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 / Various options what t...
Power Apps
Unanswered

Various options what to display in datacard

(0) ShareShare
ReportReport
Posted on by 16

Hi,

 

I'm totally stuck on following scenario;

On DetailScreen1 in DataCardValueX I have a date/timestamp which I got from pressing a button with Set (varTimeNow1;Now()) in the EditScreen1

When pressing the Edit button (pencil) on the DetailScreen1 I've made it open EditScreen2 and there the DatacardY with the timestamp needs to show

Either; -if there is a timestamp saved in the previous save > show the timestamp (I made this Default: Text(DataCardValueX)

           -if there was no timestamp previously saved (So DataCardValueX is empty) I want the option to press the button and launch varTimeNow;Now()) > For this I've put If(IsBlank(DataCardValueX); Text(varTimeNow;"dd-mm-yyy hh:mm"); Text(DataCardValueX))

So far it works but now the part I can't figure out;

           -if there is a timestamp saved in the previous save but I want to change it, I created a popup via variable when pushing the DataCardValueY showing the timestamp. The popup is set up with a date picker and hour and minutes. The selcted date I have showing in a label also in the popup (will make invisible after but I guess I will need the data in that label to overwrite the previous timestamp?)

 

Can anyone help me with this please? 

 

So basically; if previous timestamp was saved > show it and provide the option to change via the popup and overwrite the old one (if I want to show time that is not current) or push the button again for new current time and overwrite previous, if no previous timestamp > push the button to insert the current time

 

snip.JPG

Categories:

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard