Search code examples
sqldata-warehousebusiness-intelligencehierarchical-data

Two alternate hierarchies SQL BI Datawarehouse


Could you please advice how can I implement this kind of hierarchy in SQL?

enter image description here

As you can see there is a multiple-parent hierarchy . It is an alternate hierarchy based on the business requirements where an account can have many parents. Ex: Chemical Revenue has Product Revenue and Chemical Contribution as parents.


Solution

  • The problem was solved by implementing the solution posted hier : http://www.bi4all.pt/node/136