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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Using rollup field, can I filter on dates such as this week or last week etc?

(0) ShareShare
ReportReport
Posted on by 45

I have a field that sums a total value from several related records of one entity (User field gets populated with data from field on tasks they are owner on).

Using normal filtering in D365 it is possible to filter on this week and last week etc. This functionality is however missing in rollup and calculated fields filtering. What i want is to only populate the rollup field for the tasks for this and last week.

Is this possible in any semi simple way?

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi HtFranzen,

    You can only have this fixed date value or other  as shown below in the rollup field:

    pastedimage1664855099198v1.png

    It doesn't support other filters(this week or last week) which are available on date field in query builder, which is by-design.

    However, Perhaps you can use indirect methods to achieve your goal:

    1.Create two date&time field named 'start Date' and 'end Date' in the related entity,

      Their format must be "Date and Time", so that they could be used in roll up field condition.

    2.Create a schedule Power Automate run everyday.

      Update the entity: set the start Date to DateAdd(Now(),-7)) and end Date to Now();

    3.Go to your roll up field property, and set up the filter condition, set the date field is less than endDate and created on is larger than startDate.

    If you are not clear about my description, perhaps you can share your screenshots about your rollup fields so that I can easily reproduce your scenario to provide detailed steps.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 74

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans