Ragged and Balanced Hierarchy help. Many to Many relationship with Ragged Hierarchy.
Hi Community,
I have been reviewing the knowledge around Ragged and Balanced hierarchy. I have a bit of a unique situation and need some help from the Community.
Attached is a file that breaks down the flat file I have put together of a relationship between entity-owner.
Each entity has an owner. That owner can also be an entity- and roll up to another owner. Eventually the hierarchy will reach the highest level which rolls up to the "ultimate" owner.
Is there a way for me to find automatically calculate what level each entity is on in the hierarchy in my flat list in the file? I.e. "B" is level 3, "D" is level 2, "F", is level 1. How would I go about calculating this in Anaplan?
I am working with a client that has no ETL tool available in their budget and all transformations will need to happen in Anaplan in the Data Hub.
See image below for visual representation (typo, the top "F", is supposed to be "G").
Answers
-
Have you watched this
Hub Model Hierarchy Management - Anaplan Community
Not only will this video help you understand how do you balance the ragged hierarchy but it will also walk you thru how do you calculate the level of each entity.
In your case I assume Owner can be considered as the Parent level of Entity.
Misbah
0 -
Yes I have watched the video. I am able to identify levels 1 and 2 but then stuck from level 3 onwards in my hierarchy.
0 -
Hi @DaanishSoomar ,
I think it would not be so hard to detect which level they are.
(Please see the attached excel.)
But implementing many-to-many relations with Anaplan will be challenging. Does it look like this?
I'd like to keep an eye on the challenge.
I look forward to seeing good practices emerge.Regards,
Taichi
1 -
Thanks everyone for the reading material and suggestions. These are very helpful. Coincidentally, another colleague of mine built a near replica model for the exact use case I'm after. He showed me a robust way to build a hierarchy, one that seemed counter-intuitive at first, but turned out to be ingenious.
I will work to put it together in a best practice article very soon. Some of the solutions here were relevant but not quite exactly what I was looking for.
0 -
Amaya, this is close, except I only know 1 owner. I do not know 3 owners, they cannot be blue cells, they have to be calculated.
1 -
Hi @Misbah and @rob_marshall the link you guys sent does not work, please could you guys provide a different one to the links?. It will be really helpful for us to have a read through.
Thanks.
0 -
1
-
@rob_marshall
Thanks a lot for the links!0 -
@DaanishSoomar Did you manage to put together that article? If so do you have a link?
Thanks!
0 -
Take a look at the above links I provided for innocent.
1