Start Free Trial

Alteryx Designer Desktop Discussions

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

Data Preparation - Hierarchy

Ragini1
8 - Asteroid

 

Hi All,

 

Can you please help me in building the below workflow:

 

Input

Level 1Level 2Level 3Level 4
A   
AB  
ABC 
ABCD
ABCE
AXY 
AZ  

Output:

Level 1Level 2Level 3Level 4Comment
A    
AB   
ABC  
ABCD

Base

ABCEBase
AXY Base
AZ  Base

 

Regards

3 REPLIES 3
KarolinaRoza
11 - Bolide

Hi @Ragini1 ,

 

Could you provide more details about the logic when Comment should be assigned?

 

I suppose 'Base' is assigned if Level_4 is not empty and then going forward when next rows as well.

 

I created the workflow which 1. assign the number of last level then 2. assign comment.

It is created for 4 columns.

 

Let me know if it works for you.

 

KarolinaRoza_0-1619472153425.png

 

 

Ragini1
8 - Asteroid

This logic works for me. If I want to populate the base node value too.

Level 1Level 2Level 3Level 4CommentNode Value
A     
AB    
ABC   
ABCDBaseD
ABCEBaseE
AXY BaseY
AZ  BaseZ

 

How to do it? really appreciate your help

Ragini1
8 - Asteroid

I was able to solve the next scenario.

 

Thank you

Labels
Top Solution Authors