Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Filter Output based on certain criteria

JJ747
6 - Meteoroid

Hello Users - I have a requirement where my input file has some fields which has the earning codes and earning amount and some field has only earning code

 

so I wanna filter those columns which has only earning codes and the output of the file should have only columns earning codes and earning amount.

 

 

6 REPLIES 6
flying008
14 - Magnetar

Hi, @JJ747 

 

Just for you like result ?

 

录制_2022_06_23_10_49_03_190.gif

 

Input      
       
Earnings Reference 1Earnings Amount 1Earnings Reference 2Earnings Amount 2Earnings Reference 3Earning Reference 4Earning Amount 4
A1100B1200C1D1300
A1101B1201C1D1300
A1102B1202C1D1300
A1103B1203C1D1300
A1103B1203C1D1300
       
       
Output      
       
Earnings Reference 1Earnings Amount 1Earnings Reference 2Earnings Amount 2Earning Reference 4Earning Amount 4 
A1100B1200D1300 
A1101B1201D1300 
A1102B1202D1300 
A1103B1203D1300 
A1103B1203D1300 

 

Qiu
21 - Polaris
21 - Polaris

@JJ747 
I take the post fix such as 1, 2, 3 and count. Any the ones are not having same count will be ones to filter out.

0623-JJ747.PNG

Qiu
21 - Polaris
21 - Polaris

@flying008 
More shorter than mine. good one.
Can you also upload your flow so I can learn a bit?

grazitti_sapna
17 - Castor

Hi @JJ747, another way of solving this problem.

grazitti_sapna_0-1655954856021.png

 

I hope this helps!

Thanks!

Sapna Gupta
flying008
14 - Magnetar

Hi, @Qiu 

 

Dear,  I can't upload files because of security policy. and the key step in this workflow is to use a multi-Row formula to filter out fields row that only have Codes but no Amounts in field info. Hope this help for you, so sorry !

Qiu
21 - Polaris
21 - Polaris

@flying008 
I think I can understand the point now.
Thank you very much.

Labels