Announcements
Hi, The reason is Kdy >= Today() is a plain date comparison, Dataverse understands that natively and does the filtering on its side. No problem.
Kdy >= Today()
But with Value(KdyT) >= WeekNum(Today()), Dataverse has no idea what WeekNum or Value means, it can't translate that into a server query. So Power Apps pulls the first 500 rows locally and filters there. That's your delegation issue, and with a big table you'll be missing records without even knowing it.
Value(KdyT) >= WeekNum(Today())
WeekNum
Value
The real fix honestly is to store a proper date in that column instead of just the week number. Then you filter the same way as your first query and the problem goes away completely.
If changing the column isn't an option, load everything into a collection first with ClearCollect, then apply WeekNum on the collection. Since collections live in memory, delegation doesn't apply. But fair warning, on a big table that's going to be slow on app load.
If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
📩 Need more help? Just mention @Soufyane and I’ll be happy to assist.
💛 A Like always motivates me to keep contributing!
Before diving into the root cause, could you please confirm which data source you're using (e.g. SharePoint, Dataverse, SQL Server)?
Delegation behavior varies significantly depending on the connector, and the functions used in your second example (Value, WeekNum) may or may not be delegable depending on that.
Once confirmed, I can provide a more precise and scalable solution 👍
UpdateContext({varWeek: WeekNum(Today())}; ClearCollect( colBoardT; Filter( DelnikPrescasyT; KdyT >= varWeek ) );;
UpdateContext({varWeek: Text(WeekNum(Today()))}; ClearCollect( colBoardT; Filter( DelnikPrescasyT; KdyT >= varWeek ) );;
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 490
WarrenBelz 427 Most Valuable Professional
Vish WR 381