Hi! My power apps formula can’t pick up the latest record from my sharepoint list. Here’s my context:
When an individual submits the form on power apps, the information will be recorded in my Sharepoint list. Hence, there can be multiple entries on sharepoint list by the same individual.
So my question is: How should my formula on power apps look such that it will pick up the latest record by the individual? My current formula looks like this:
If(LookUp(SharepointList, ID = DataCardValue16.Text, Status) = "Reserved" And DataCardValue22.SelectedDate - LookUp(SharepointList, ID = DataCardValue16.Text, DateofVisit)<60, "You can only make a booking once in every 2 months.","")
Thank you!