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 Sik,
selection by "Klasse" works as well.
If the first two dropdowns ("Abteilung" and "Klasse") are blank and the DatePicker shows the date of today then all the records of today should be shown. How can I handle this as I may not use If()?
Best regards,
Hans Peter
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.
Best regards,
Sik
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?
BR
Sik
Hi Sik,
the filter works correct, I get all the items.
Thank you for your patient and extensive help. It is really much appreciated!
Best regards,
Hans Peter
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |