Hello,
I created my first PowerApp to be used to allow my department to input some data that goes to a SharePoint list. In this PA I have a date field that autogenerates the date for 30 days past today's date.
default date for this datacard is set to
DateAdd(Now(),31,TimeUnit.Days)
This works great on creation but when editing from inside the PA the date goes 30 days ahead of the day of edit. Meaning if I created the record on 5/1 that date would be 6/1, great! But if I edit on 5/7 the date would change to 6/7, not great. I understand that it is because the formula I am using for the default date. But I am not sure what I could use to make it work better. An IF statement I imagine but I am a noob to this stuff. 🙂
My goal is when created to have the date field go to 30 days ahead BUT when editing the date does not change.
I hope this makes sense,
Thanks
Rich