Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
martynlloyd
Partner - Creator III
Partner - Creator III

Unbalanced n parts sucession hierachy

I have an unbalanced n level hierachy of part numbers (see below)

I want to agregate all sales of a part to it's most recent part number, and I want a tree view of a part and it;s ancestors.

What should my script look like? I'm assuming that [Part] will be the parent, not sure what to make the node name.  Part:Ancestor is a 1:n relationship.

Thanks for your help

M.

AncestorPart
000RAK5043
0.01251267652
0.01261267652
0.01911288674
1.01661276844
1.17051288681
1.17061288683
1.3018FBU7202
1.40541208092
1.63571246879
1.80441262964
002DW03625001
2.09701208091
2.09710069508
2.10720698039
2.1137FBU8909
2.14390068877
2.14400068877
2.29660068877
2.29670068877
2.29720068877
31321940
3.15370698037
4.01850698771
4.03970689687
4.04080698758
4.05820068705
4.06730068691
4.08430068692
1 Solution

Accepted Solutions
Gysbert_Wassenaar

Perhaps this discussion helps: Re: BOM Explosion using Hierarchy & HierarchyBelongsTo


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar

Perhaps this discussion helps: Re: BOM Explosion using Hierarchy & HierarchyBelongsTo


talk is cheap, supply exceeds demand