Free Trial

Alteryx Designer Desktop Discussions

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

Need to delete rows based on calculation and values in other rows

Infrecon
6 - Meteoroid

I have the following test table and I would like to have the following result, see below. 

 

RecordIDNameValue1
75301 
75302 
75303Test_Text1
75304 
56401 
56402 
56403Test_Text2
56404 
56405 

 

RecordIDNameValue1
75301 
75302 
75303Test_Text1
56401 
56402 
56403Test_Text2

 

I have created or used a transpose for a dynamic hierarchy.

But now I want to delete the rows that are larger in name than their name, where there is a value in it.

5 REPLIES 5
Felipe_Ribeir0
16 - Nebula

Hi @Infrecon 

 

Here is one way to get the expected output.

 

Felipe_Ribeir0_0-1665244801453.png

If the provided answer helped you to solve the problem/was correct, please accept it as a solution :)

 

Thanks.

 

Infrecon
6 - Meteoroid

Hi @Felipe_Ribeir0 

 

unfortunately, not practicable, as the original database contains 14000 entries :)

 

Or let's talk from the beginning. Maybe there is a simpler version than mine.

The following initial situation:

 

CHOP_CodeIndent_Level
C01
Z00

2

Z03123
Z031245
Z21034
Z0213
C11
Z231235
Z232

 

 

CHOP_CodeLevel 1Level 2Level 3Level 4Level 5
C0C0    
Z00

C0

Z00

 

 

 

Z0312C0Z00 Z0312 
Z03124C0Z00 Z0312Z03124
Z2103C0Z00 Z2103 
Z021C0Z00Z021  
C1C1    
Z23123C1   Z23123
Z23C1Z23   

 

Felipe_Ribeir0
16 - Nebula

Hi @Infrecon 

 

Understood, for this amount of rows it is not a good idea to use the append. Try this one, i understand that this one has a much better performance.

 

Felipe_Ribeir0_0-1665245761837.png

 

Felipe_Ribeir0
16 - Nebula

Another and more performatic option to the original problem. 

 

Felipe_Ribeir0_0-1665246707036.png

 

Felipe_Ribeir0
16 - Nebula

Hi @Infrecon 

 

It worked?

Labels
Top Solution Authors