Is there any method to work with more than 2000 records in PowerApps?
When I open my form which has some Dropdowns and one Gallery I only get one single record instead of 33.
This is my code:
Form: OnVisible: ClearCollect(colAll;Quellendaten)
Gallery: Items: SortByColumns(Filter(colAll;If(IsBlank(DropdownAbteilung.SelectedText.Value); true ;Title=DropdownAbteilung.SelectedText.Value)&&If(IsBlank(DropdownKlasse.SelectedText.Value); true ;Klasse=DropdownKlasse.SelectedText.Value)&&If(IsBlank(DatePickerAU.SelectedDate); true ;Datum=DatePickerAU.SelectedDate));"Klasse";If(SortDescending1;Descending;Ascending))
Or is there any other way how I can filter records from my SharePoint list?
Solved! Go to Solution.
Hi @AppsBe-Med ,
Thanks for you debug, that reminds me a thread I ever answered: Hitting Non-Delegable query limit when I think I'm using delegable functions .
It seems the IF function in the SortByColumns/Filter function will cause the non-delegation error. And the workaround is to move If part function to the beginning of the formula, first to check IF condition. Although you have three if condition, the code could be much complex, I think it deserves a try.
Hi @AppsBe-Med ,
it looks good now, but do you still think the gallery doesn't show all match item?
Is there any delegation warning there? How many items it should be?
the filter works correct, I get all the items.
Thank you for your patient and extensive help. It is really much appreciated!
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights