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 from multiple H...
Power Apps
Unanswered

Rollup from multiple Hierarchies in Dataverse

(0) ShareShare
ReportReport
Posted on by 17

Hi All,

I have a data structure where Parent 1- NChild --> N Sub child -->  N sub sub  child --> N sub sub sub child kind of a relationship.  It is 4 steps in the hierarchical chain. The last sub sub sub child record has the multiple amount values which needs to rolled up to the the parent table. I tried rollup function but it only allows rolling up to one hierarchy step , but the requirement is rolling up all the way to  parent table.  could this kind of calculations be done on the backend without using any flows ?

 

Thanks,
Rushi
 

I have the same question (0)
  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    Hello @Rushi_555,

     

    Please find the good article from @priyeshwagh777 

     

    https://d365demystified.com/2021/10/05/use-hierarchy-in-roll-up-fields-in-dynamics-365-crm/

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @Rushi_555 ,

     

    I think hierarchy can only be utilized within the same entity hierarchy like summing the total revenue for all open opportunities within a parent / child Account hierarchy.  In the situation you are looking to do here where these are different entities, this can not be done out of the box.  

     

    You could go down a path of using Flow to generate these results but I normally would move to Power BI to create analytics around this type of data because you can utilize many different slicers, time periods, etc. and it will provide significantly more flexibility then trying to do the totals through rollup fields.

     

    Thanks,

    Drew

  • Rushi_555 Profile Picture
    17 on at

    Below, is the relationship view of the problem I am trying to solve. wbse actuals and Financial table are connected to different DB and the values are changed on daily basis. wbse financial and actuals table are connected to the L2 plan project table(N:1) -  which connects to L2 Projects (N:1). L2projects is connected to L1 Projects table (N:1). I am trying to bring the amount vales from actuals and financial table to the L1 Projects table. 

  • Rushi_555 Profile Picture
    17 on at

    Rushi_555_2-1638804046675.png

    Its just the screensnip of the file attached in the previous comment. 

    Appreciate all the help!
     

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard