We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Inherit Recursive Rollup of Subordinate Attributes

KNguyen
7 - Meteor

Hi

 

How do i do a recursive roll up. If I have a file containing a relationship of two orgs and another file containing attribute of the org. Essentially, recursive roll up to build a hierarchy and the superior org inherit all the attributes of the subordinate?

 

Table 1

Org1Org2
AB
CB
BD
FD
  

 

Table 2

OrgState
ACalifornia
CTexas
BNew York
FWashington
  
DOregon

 

End Result

OrgState
ACalifornia
BCalifornia
BTexas
BNew York
CTexas
DOregon
DCalifornia
DTexas
DNew York
DWashington

 

THanks 

1 REPLY 1
danilang
19 - Altair
19 - Altair

hi @KNguyen 

 

Check out the solutions to Weekly Challenge 81: Multi-level Bill of Materials Problem.  A bill of materials is equivalent to a company hierarchy, so one of the solutions there will get you started.   

 

Dan

Labels
Top Solution Authors