I'm using a simple collection function to collect values for four columns of my list and I'm using a data table to show those values from the collection. This works fine and table shows the values I enter. I'm then using a Submit button to patch the records to my list and this seemingly works.
However, when I go to the list, I see only the last item that I entered in the collection and every other record I created, it shows values of the last item only. When I go to the File tab on PowerApps and go to Collection, it shows the distinct values I've entered but then the same values get overwritten by the last record. For eg. I create 3 records and even if SPO list shows 3 new records created, it shows the values of the 3rd record even on 1st and 2nd record.
Below is code I've used to patch the records.
ForAll(NewtestCol,Patch('VDI Request Form',Defaults('VDI Request Form'), {'Region & Domain': RegionDomain1.Selected,'Domain UID': DomainUID1.Text,'Requesting For': RequestingFor1.Text,'Request Number': RequestNumber.Text })