Forum Discussion

daniel's avatar
daniel
New Contributor
6 months ago

How does it work C#Aggregated

Hi, How does it work the C#Aggregated? What entity property does it take into account for aggregating? We are aggregating two different entity structures but we are not obtaining the same data....
  • T_Kress's avatar
    6 months ago

    If your hierarchies have identical base members, with no duplicates, and all % ownerships are the same, then the answer at the top of the hierarchy when aggregated (assuming aggregating with no base data changes in between) will be the same (unless you have a calculation that is different for a base entity with one parent than a base entity with another parent).

    In the Open Place there is a tool that quickly allows you to compare two entity hierarchies to ensure they have the same base members and no duplicated entities.  It is called "Hierarchy Validation Tool" and it is quite useful to check the hierarchies.  It may help you in this case identify your issue.