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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Rollup field for running period

(0) ShareShare
ReportReport
Posted on by

Hi

I've been searching for a way to create a rollup that counts records over a specific rolling period.

Let's say I want to create a rollup that only counts records created within the last three weeks. Anyone knows how to do this?

Thanks,

Thomas

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    manojd  Profile Picture
    1,397 on at
    RE: Rollup field for running period

    Hi,

    At this moment you can only have this fixed date as shown below 

    27.11.jpg

    It doesnt support other filters which are available on date field in query builder 

    Hope it answers 

  • Community Member Profile Picture
    on at
    RE: Rollup field for running period

    Hi Manoj

    Yes that's what I have concluded as well. Was hoping that someone had found a workaround of some sort :)

    Thanks,

    Thomas

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Rollup field for running period

    Hi Thomas,

    It is not possible with the rollup field however you can try the traditional way of rollup calculation (which we used to do in CRM 2011)

    Check this:

    community.dynamics.com/.../147466

    Hope this helps

  • Community Member Profile Picture
    on at
    RE: Rollup field for running period

    Thanks Ravi

    I'll have a look at see if that will do the job!

  • ashlega Profile Picture
    34,477 on at
    RE: Rollup field for running period

    This may help if you need something quickly:

    www.itaintboring.com/.../lets-roll-up

    Pretty sure there are other solutions, too.

  • Suggested answer
    antc Profile Picture
    2,909 on at
    RE: Rollup field for running period

    Hi Thomas,

    Haven't got time to go into detail however I think this is what you are after.

    I use msdyncrmWorkflowTools (1.0.40.0):Rollup Functions where I have a fetchxml argument for last x months.

    It is run nightly by AsynchronousBatchProcess Asynchronous Batch Process 2.0.0.0 Yaniv Arditi.

  • manojd  Profile Picture
    1,397 on at
    RE: Rollup field for running period

    @antc, it’s a perfect solution for the requirements of Thomas’s

    Thomas, I tried using this & worked well for me where I could roll up the values only for one month from child to parent

    [View:https://github.com/demianrasko/Dynamics-365-Workflow-Tools?files=1]

    I suggest you try it out & also mark Antc response as answered to help others in community

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans