I have an app with a Gallery and am using the following function to pull data from my SharePoint List into a Power Apps Gallery:
SortByColumns(Switch(varGalleryFilter,
1, Filter(VehicleRegistration, VehicleOnCampus="Yes" && Status="New"),
2, Filter(VehicleRegistration, VehicleOnCampus="Yes" && (Status="Rejected" Or Status="Completed")),
3, Filter(VehicleRegistration, VehicleOnCampus="Yes" && Status="New")
), "Created", SortOrder.Descending)
varGalleryFilter is set to 2 if the user clicks the "Archive" button. Currently, it only displays the first 500 rows in my SharePoint List. If I change the Data row limit to 2,000, I get all of my rows, but when I surpass 2,000 rows, I will run into the same problem. It was my understanding that using the "Descending sort order, I would get the most current rows, but it seems that I am getting the first 500. How can I get the most recent rows?