I have a form and a gallery. Form have two fields and gallery have three columns but could have one or more rows in it.
Using for all I am saving the form and gallery data in one SharePoint list. Now i need to create one column in share point list (which is unique) so that I can retrieve all this data at once. If we consider this as a record being saved from power apps to SharePoint. One record can have any no of values in it. One record could have 5 and another could have 11. But should have only one Id. So that using this Id I can retrieve respective Data. How can I create this unique id while saving.

eg: Name Sex(Form) Subject Marks Date (Gallery)
David Male Maths 90 20/20/20
Physics 80 10/10/10
science 10 10/10/10
The above data should have one id created in Share Point so that it can be retrieved once.