Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

How to create a flat list of node IDs & descriptions for multiple nodes of a hierarchy

Charl
6 - Meteoroid

Hi,

 

I have a hierarchy in table format, consisting of 10 node IDs with node descriptions.

 

I want create a flat list of unique node IDs and node descriptions to be used as a VLookup table - thus show all node IDs (level 1 to 10)  in one column with their corresponding node descriptions in another column (thus only having 2 columns, one for IDs and the other for descriptions)..

 

I attached an example of node IDs and node descriptions for which I want to test this concept. Further down is how the solution should look lik.

 

Your help would be appreciated.

 

Regards

Charl

 

Solution should look like this:

Charl_1-1653676645290.png

 

 

2 REPLIES 2
DavidSkaife
13 - Pulsar

Hi @Charl 

 

Here is one way to do it, for more Nodes simply add an additional Transpose tool per node required:

 

DavidSkaife_0-1653686209242.png

 

Cheers,

 

David

Charl
6 - Meteoroid

Hi David, 

 

Thank you for the quick response!

 

This works perfectly, thank you! I appreciate your help.

 

Rgds

Charl

Labels