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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Rollup Columns and Cal...
Power Apps
Answered

Rollup Columns and Calculated Columns

(1) ShareShare
ReportReport
Posted on by 690

Hey All - can someone confirm for me how often Rollup Columns and Calculated columns re-calculate? I used both these columns types on one of my tables but they don't appear to be re-calculating rea time (I'm a model-driven app newbie) 

 

I'm reading the doc below 

https://learn.microsoft.com/en-us/power-apps/developer/data-platform/calculated-rollup-attributes

 

I need these values to re-calculate every time the user adds a row or modifies a value that is in the calculated column formula and I'm not seeing any changes when I do those actions. 

 

Are the updates not real time? 

Should I have created a business rule?  

 

Lastly - where can I find these supporting columns for the Rollup columns? Not clear in the doc.. 

Sorry for being so green ... 

 

Thank you! 

 

ctedesco3307_0-1682963045402.png

 

I have the same question (0)
  • Verified answer
    Fubar Profile Picture
    8,354 Super User 2025 Season 2 on at

    The other gotcha with these fields types is that when they update they do not fire an update event i.e. you cannot use them as a trigger to perform some other action.

  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    Hi @Fubar 

     

    Please find my channel for your reference.

     

    https://www.youtube.com/watch?v=P-6OTlmRWw4

     

    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

  • Suggested answer
    dmb Profile Picture
    12 on at
    Calculated columns are calculated upon retrieval. Same as the new Formula columns that use PowerFx.
    After a rollup column is created, it's calculated after 12 hours. Then I believe the default period is 1 hour, can be increased, but not decreased. For on demand force recalculation of specific field on a specific record, call the CalculateRollupField function. It's the same as the user clicks on the calculator icon within a model-driven app which is basically a GET request like this:
     
    https://xxxxxxxxxxxxxxxx.crm.dynamics.com
    /api/data/v9.2/CalculateRollupField(Target=@p1,FieldName=@p2)
    ?@p1={'@odata.id': 'tableSetName(recordGuid)'}&@p2='rollupFieldLogicalName'
     
    From JavaScript within model-driven app it's better to call this function by the Xrm.WebApi.online.execute method, although a simple fetch will also work as the user is already logged-in.
    You can also call it from a portal with the token from shell.getTokenDeferred().
    From C# plugin use the localPluginContext.SystemUserService.Execute method.
    You can also call it from cloud flows using the HTTP action or from some external app but this will require authorization.
    Beside doing the recalculation, it also returns the new value.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard