Hi everyone, unfortunately I am not able to agree Google sheets with Appsheet regarding the dates in extended format in order to then be able to correctly filter the dates on the sheet A-Z or Z-A, let me explain.
Both Google Sheets and Appsheet are localized in Italian but as you can see from the last image, the filter function cannot correctly sort the dates from the most recent to the oldest.
Appsheet italian
Google sheet italian
Data validation: invalid value
Wrong dates sort
Unfortunately Appsheet localized in Italian, writes the date as DD/MM/YYYY HH: MM: SS
Google Sheets localized in Italian instead wants the dates as DD/MM/YYYY HH.MM.SS
The data validation (Check: Data = "is a valid date") gives me "wrong value" and consequently the Z-A or A-Z filter does not work, if instead I manually write the date in the format DD/MM/YYYY HH.MM.SS, the validation data is successful and the filter works correctly.
I found a trick, set the Google sheet in English (united kingdom) but I'd like to solve with the Italian localization (Italy)
Sort ok
It was a bit long post I hope I explained myself well, thanks for your patience and thanks to the whole comunity.
Share the column config from AppSheet editor
Screenshot 1
Screenshot 2
Screenshot 3
Thanks for your help @SkrOYC , I hope these smartphone screenshots satisfy you, I'm on vacation and I don't have a pc at the moment.
My only advice would be this:
If it works and looks accurate inside AppSheet, it's ok, because you should not work with the data directly from the GSheet since it breaks the purpose of having an AppSheet app.
In other words, configure the GSheet on a way that's compatible with your expected behaviour for AppSheet. In this case, you already found that having UK locale is enough
Actually this was the screenshot I wanted to send you, I had the wrong column
Column settings for dates
@Antonino io seguirei preziosi suggerimenti del competentissimo @SkrOYC
In aggiunta, ti condivido alcune delle soluzioni che a me son risultate utili perchรจ, anch'io come te, mi trovo spesso con problemi di compatibilitร di questo tipo.
Soluzione tipica: creo delle colonne aggiuntive dove trasformo il formato della data ed ora in modo che sia compatibile con la versione/lingua di Google Spreadsheet o Excel che sto usando. Non tocco l'originale, come suggerito da @SkrOYC ma ne creo delle nuove. Queste nuove colonne sono quelle che poi uso nelle formule e calcoli vari che imposto nello spreadsheet.
Per esempio, potresti trasformare data-ora in testo e poi utilizzare altre funzioni per cambiare il loro formato in modo che il tuo spreadsheet li possa riconoscere come valori validi. Per esempio potresti provare a dividere il giorno (date) e l'ora (time), in due colonne, e poi trasformare solo l'ora se รจ quella che crea problema. Se hai bisogno di unirle, poi puoi sempre concatenare i valori. Per questo tipo di operazioni, in Appsheet, a me risultano molto utili le virtual columns. O potresti creare solo una colonna nuova, facendo un'unica trasformazione, con una formula un po' piรน complessa.
Queste expressions ti potrebbero risultare utili:
https://support.google.com/appsheet/answer/10107326?hl=en
e questa App potrebbe servirti come riferimento https://www.appsheet.com/templates/This-app-shows-how-to-format-dates-as-text?appGuidString=66370613...
buongiorno a tutti @Antonino come hai risolto io ho il tuo stesso problema ma con le ore esempio: appsheet 15:25 e invece google sheets vorrebbe 15.25 in effetti vuole il punto (.) e non i due puntini(:) questo e l'errore che mi da Non valido: questo valore non corrisponde al tipo di colonna tempo
User | Count |
---|---|
17 | |
14 | |
10 | |
7 | |
4 |