web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / CDS Delegation not wor...
Power Apps
Unanswered

CDS Delegation not working on date field types

(0) ShareShare
ReportReport
Posted on by 55

Hello all,

 

We have built an app using CDS that contains about 15,000 records for scheduling operations. 

 

These records are presented to the ops team as work orders filtered to due today, however it seems that delegation doesnt work on filtering fields formatted as a date on CDS. 

 

Is it possible to filter records to todays date without breaking delegation? I have tried a number of ways, including using "Today()", writing today's date to a context variable, and even hardcoding todays date, however I always get the warning under "=" that "Part of this Filter formula cannot be evaluated remotely due to service limitations". 

 

The formula I am using is

Filter('Production Work Orders', TargetDate = Today())

Currently I am replicating the entire database to a local collection, however this is no longer an option as the database increases in size.

 

Does anyone have any ideas on how to get delegation working in this situation?

 

Thanks 

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Csm,

     

    I can reproduce this issue by creating an app based on a CDS entity. In the app, add a gallery control and set its Items property to Filter(DataSource,FinalDate=Today()). The date can be filtered by the date, but there is a warning under “=Today()”.

     

    The warning message is shown as below:
    Suggestion: Part of this Filter formula cannot be evaluated remotely due to service limitations. The local evaluation may produce suboptimal or partial results. If possible, please simplify the formula. For more information, please see the filter function documentation.

     

    I also try with other operator such as “in”. I set the Items property of the gallery control as Filter(DataSource,TextBox1.Text in FinalDate). But I get the same result with “=”.

     

    Thanks for your feedback. I will report this from my side and involve others to look into this.

     

    Best regards,
    Mabel Mao

  • csm Profile Picture
    55 on at

    hello Mabel

     

    any update on this?

     

    thanks 

  • csm Profile Picture
    55 on at
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Csm,

     

    I am not sure if CDS support filtering on date fields, I am still confirming this issue with PGs. I will back once I got the updates.
    Thanks for your patience and understanding.

     

    Best regards,
    Mabel Mao

  • ManishM Profile Picture
    Microsoft Employee on at

    @v-yamao-msft Has this issue being resolved? Last mention of this issue was on 6/22/2016. My entire app depends on date filtering on CDS.

  • Rhemo Profile Picture
    56 on at

    bump

  • trietho Profile Picture
    2 on at

    Hello,

     

    This is my workaround for my case: SQL Table, need a filter by date, and data entry via PowerApps too.

    • Create an additional TEXT column, e.g: ReleaseDateText
    • On EditForm, make ReleaseDateText card as hidden and its Text properties should be: 
    • Text(ReleaseDatePicker.SelectedDate,"[$-en-US]yyyymmdd")
    • Now, you can filter on Gallery: 
      Filter('[dbo].[ProductReleases]', ReleaseDateText = Text(ReleaseDatePicker_ListForm.SelectedDate,"[$-en-US]yyyymmdd")

     

    My two cents!

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard