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 : i8tNV0oEQxaKb4f9gnWWqv
Power Apps - Microsoft Dataverse
Unanswered

instant rollup recalculation

Like (0) ShareShare
ReportReport
Posted on 8 Apr 2022 18:49:59 by 820

Hi

I want to instantly(when records added,modified,deleted) be able to recalculate a rollup field. I have found this article:

Solved: Modify Rollup field frequency to run every 30 mins - Power Platform Community (microsoft.com)

is says:

1. Create a workflow/power automate flow that will be triggered on create/update/delete of child record.

2. Call CalculateRollupField message to recalculate the rollup field. If you choose workflows you can use custom workflow activity from my Ultimate Workflow Toolkit pack - https://github.com/AndrewButenko/UltimateWorkflowToolkit

 

My question is how should i call CalculateRollupField message within the power automate?

Categories:
I have the same question (0)
  • Ram Prakash Profile Picture
    5,416 Super User 2025 Season 2 on 12 Apr 2022 at 06:38:08
    Re: instant rollup recalculation

    Hello @jja 

     

    You can use Plugins to recalculate immediately

     

    Link for your Reference : https://pradipwebmaster.wordpress.com/2019/06/12/recalculate-rollup-field-using-plugin-in-dynamics-365/

     

    Make sure the Message you register in preoperation.

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Follow me on Twitter : @rampprakashd
    Blog : https://microsoftcrmtechie.blogspot.com

  • Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on 12 Apr 2022 at 01:17:13
    Re: instant rollup recalculation

    Hi @jja ,

     

    Not specifically answer to your question but wanted to let you know that according to Microsoft the Power FX formula fields are coming soon to Dataverse, they are already available in Dataverse for Teams and can do these types of analytical functions in real time.  https://powerapps.microsoft.com/it-it/blog/power-fx-coming-to-model-driven-power-apps-dataverse-and-more/ 

     

  • EricRegnier Profile Picture
    8,714 Most Valuable Professional on 08 Apr 2022 at 21:20:00
    Re: instant rollup recalculation

    Hi @jja,

    This only way that I know is to call it via Power Automate if through the HTTP action to call the Dataverse' Web API. There are a few steps to get this going to setup the service principal to allow connection, authenticate then call the CalculateRollupField function.

    Here's a good article explaining the steps: https://dynamicconsultantsgroup.com/blogs/dynamics-365-webapi-calls-and-flow/
    Hope this helps!

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…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 892 Most Valuable Professional

#2
Power Apps 1919 Profile Picture

Power Apps 1919 356

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 310 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Loading complete