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

Alteryx Designer Desktop Discussions

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

Filtering out rows based on the same value in two columns

overhead_press
8 - Asteroid

Hi everyone, how would I go about filtering out data that are the same in Amount1 and Amount2 column grouped by the Account number? Thanks!

 

Original:

Account Amount1Amount2
1100 
1 100
2200 
2 200
3300 
4 300

 

Desire result:

Account Amount1Amount2
1100 
1 100
2200 
2 200

 

 

 

4 REPLIES 4
Athilingam_S
7 - Meteor

Hi

 

You can use the custom filter Option with specific columns

 

Athilingam_S_0-1637251366215.png

 

overhead_press
8 - Asteroid

Thanks for the response, what if I have a lot of rows and do not know the numerical values? How can I filter it without manually entering the numbers? 

Athilingam_S
7 - Meteor

Hi

 

If you can use this attached workflow for your Desire result

mceleavey
17 - Castor
17 - Castor

Hi @overhead_press ,

 

I've built the attached workflow for you.

This pivots the data so the values are in the same column, it then removes empty values, pivots back to compare values for the same account number on the same line. Once we've determined the ones that match, use the Account to join back.

 

mceleavey_0-1637252809698.png

 

mceleavey_1-1637252831484.png

 

Hope this helps,

 

M.



Bulien

Labels