I am developing app for teams within it I created tables. One of My table has 5374 records, which I imported from excel. Cross checked all, All going on fine till here.
As the number of records is high, I changed the setting Data Row limit to 2000, So I applied collection method to fetch all the records and then apply for combo or for gallery and for other requirement on the screen:
ClearCollect(colMyCollection, {RecoNo:0});
With(
{wLow: Sort(KMEmachineDataDV, RecoNo ), wHigh: Sort(KMEmachineDataDV, RecoNo, SortOrder.Descending ) },
Collect( colMyCollection, wLow, Filter( wHigh, !(RecoNo in wLow.RecoNo) ) )
)
The result I get is 4001 records. Short of 1373 record. Result is not correct.
Then Applied it on the dropdown, by applying the following method, Not all the model get listed in drop down, some are still left :
Sort(Distinct(KMEmachineDataDV,Model),Value)
Then Applied in the combo box based on another column , not getting all the records:
Sort(Distinct(KMEmachineDataDV,Serial),Value)
Then inserted a gallery and applied the below code without any filter or sort on the item property , which also does not bring all the result :
colMyCollection
After all test, It seems, that my collection code has some issue as I read several post mentions that SharePoint has these issues but Data verse Table does not such issues.
Please check and advise what correction I need to do in my collection code to get the correct result