I am editing my app to provide daily information to my CEO with regards to Staff attendance and Client attendance including sick leave etc.
We wish to retain “todays” data as historical and tomorrows data as viewable in the app. Is there anyway I can automate the app to save the spreadsheet in the background or create another tab on the app to view historical data.
Your filter condition must be applied to a column with date or datetime.
This should be a Yes/No condition.
I don’t see a date/dateTime column on your screenshot ?
[Date DD/MM/YY]<TODAY() if you want “earlier” rows [Date DD/MM/YY]=TODAY() if you want “today” rows [Date DD/MM/YY]=TODAY()+1 if you want “tomorrow” rows
Below is the sheet the app is updating on a Sharepoint Site however it is overwriting. What would you suggest would be the best way to save yesterday, archive and then go again with new data today. The archived data for any day should be recallable from within the app.
It seems like you are using a single row for each person and the values for today are inside a column of the users table. I’m right?
You need two tables at minimum.
One for Users
Another for Records.
You could create a bot to make equal amount of rows from Users on Records and make them available to enter info each day, leaving the old records from Records as they were. You could even make them uneditable.
Maybe I’m wrong, but that’s what I understanded
I my spreadsheet I posted earlier all figures in rows and columns change on a daily basis.
Before they are changed and at the end of each day I would like to save a copy so that it can be reviewed at a later date. Saved (archived) data should be able to be retrieved on a date basis.
In this case, you may want to make a bot, and use it with a “schedule event”, in order to run this data action:
in order to create a history of all informations saved, from your “main” sheet to your “history” sheet (sheet= table).
Maybe also, you may want to add a process in your bot in order to “initialize” the Date column to the new “today”.
For reference: (Bots are in the “Automation” panel)