I'm trying to add a timestamp to a record using the Now() function on a form update. With Excel as my data source, this works exactly as needed. Testing in Google Sheets inserts the date/time as a 13 digit Unix epoch value in plain text formatting which nothing seems to understand. I also notice that dates entered in Google Sheets do not sort correctly when read by PowerApps.
Could you please take a screenshot of that 13 digit Unix epoch value in plain text formatting which cannot be read by Google Sheets? Also, how did you sort the dates? What is the formula?
Here is the screenshot of the record in Google sheets. I have another version of the same app using the same formulas, and it works fine. The first record is the result from my initial app, and the second one shows the new problem I'm having.
The data from Google Sheets is showing up as plain text formatting, so the sorting is based on the numeric value of the record.
Here is the code for the gallery sort.
Sort(Filter(GOODS,JobStatus.Selected.Value in CURRENT_STATUS,SEARCH.Text in CUSTOMER ||SEARCH.Text in ORDER_ID ||SEARCH.Text in WHO_CHECKIN ||SEARCH.Text in WHO_CHECKOUT ||SEARCH.Text in CHECKIN_TIME ||SEARCH.Text in CHECKOUT_TIME), If(JobStatus.Selected.Value ="IN", CHECKIN_TIME, JobStatus.Selected.Value ="OUT", CHECKOUT_TIME), Descending)
I managed to fix my issue with the epoch time by deleting the custom data card I was using and replacing it with a new one. The formulas are all exactly the same, but it now posts the Now() value as a date/time.
I'm still having issues with sorting by date/time from Google Sheets. I manually formatted my cells as dates, but they are still read as plain text values.
Here is another example.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand