Skip to main content

Notifications

Customer Service forum
Suggested answer

Rollup field limit - alternative to rollup

Posted on by 459

Hi, 

I have a requirement for an application table that has 45 different scoring fields. The user manages scoring tables (45 tables). When the user updates the score in scoring tables. 

The application data should be updated based on the score changes. I tried to use the rollup field. However, there is a limit that only 10 rollup fields can be used in one entity (https://www.mtccrm.com/crmdiscussion/KA-01084/). 

What alternative can be used instead of the Rollup field? is there any other solution for this issue?

This diagram shows 2 scoring tables connected to the Application entity. 

pastedimage1668016178111v2.png

thank you,

Siva

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: Rollup field limit - alternative to rollup

    Hi SivaR,

    I agreed with Andrew, you can use power automate to sum child records value easily.

    You need design 45 flows for 45 scoring tables with similar steps:

    I will use a certain table(Development language) as an example:

    1.Go Power Automate to create one automated flow:

    pastedimage1668066284851v2.png

    2.Set trigger:

    https://learn.microsoft.com/en-us/power-automate/dataverse/create-update-delete-trigger 

    When one DL record will be created or score/application fields of the DL record changed, the flow can be triggered. 

    pastedimage1668066560861v3.png

    2.Initialize variable:

    pastedimage1668067196008v5.png

    3.List all DL records related to same application.

    https://learn.microsoft.com/en-us/power-automate/dataverse/list-rows 

    pastedimage1668067178487v4.png

    4.Increment variable:

    pastedimage1668067394112v6.png

    5.Update a row:

    https://learn.microsoft.com/en-us/power-automate/dataverse/update 

    pastedimage1668067845577v7.png

    Overview:

    pastedimage1668068054693v8.png

    Test:

    (1)DL list:

    pastedimage1668068149036v9.png

    (2)Application list:

    =============================

    Or you can refer to the following blog, which provides another functions in the power automate:

    https://www.thetindog.com/dynamics-as-we-go/how-can-i-use-powerautomate-as-alternative-to-rollup 

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,319 Moderator on at
    RE: Rollup field limit - alternative to rollup

    Hello,

    You always can build logic that does your rollup the custom way - good candidates are Plugins and Power Automate Flow.

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,115 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,971 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans