Hi all, how are you?.
I have data coming from an access control and the person ID is used as the key of my table, that data comes repeated several times in a day because people can access the place multiple times.
When new data is added the preceding data stored is not erased automatically, because of that was made an action to bulk erase the existing data based on the key of the table (the ID) and was used the formula SELECT(Listado[ID], TRUE) in the action; the action works but it doesn’t erase all the records I suppose that is because the key is repeated, then Google Gemini advice me to use a composed key using the ID and what I call the state of the user (STATE_1,…,STATE_3) according to the time of the day the user enters the site.
The above procedure was done adding te datetime of the event but, I try to use the system like that then AppSheet says that the table doesn’t has physical key column and it can’t continue.
Currently I can’t add physical columns to the data because the data comes with columns precreated.
The app is being made to count the quantity of people in each state in a period of time.
What can I do to being able to erase all the date in only one execution of the erase_all action without using bots?
Thanks in advance for the help





