I try to get all records of a certain date range from a SP list. The total of the records in this date range is around 3'000. The dates are all converted to numbers (Date2Num) but nevertheless I get a delegation warning and I don't get all the records with the following filter function:
ClearCollect(colNotenuebersicht;
Filter(Notenuebersicht;
Date2Num >= LookUp(Jahresplan;Title="Beginn Semester 1";Date2Num) ;
Date2Num <= LookUp(Jahresplan;Title="Ende Semester 1";Date2Num)))
What did I do wrong?
Solved! Go to Solution.
If your list is between 2k and 4k you can create a collection and use it instead of your SPlist to use Search(), the in operator with a filter. This formula will work for SP lists up to 4000, after that a different method will be needed.
Concurrent(
ClearCollect(
col1,
Sort(SPlist, ID, Ascending)
),
ClearCollect(
col2,
Sort(SPlist, ID, Descending)
)
);
ClearCollect(
colAll,
col1,
Filter(col2, Not(ID in col1.ID))
);
Clear(col1);
Clear(col2)
If your list is between 2k and 4k you can create a collection and use it instead of your SPlist to use Search(), the in operator with a filter. This formula will work for SP lists up to 4000, after that a different method will be needed.
Concurrent(
ClearCollect(
col1,
Sort(SPlist, ID, Ascending)
),
ClearCollect(
col2,
Sort(SPlist, ID, Descending)
)
);
ClearCollect(
colAll,
col1,
Filter(col2, Not(ID in col1.ID))
);
Clear(col1);
Clear(col2)
Thank you very much. It worked!
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
199 | |
71 | |
51 | |
42 | |
30 |
User | Count |
---|---|
268 | |
119 | |
94 | |
90 | |
81 |