Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
Free Trial

Alteryx Designer Desktop Discussions

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

Counting rows with the matching 4 column values

saimohan
5 - Atom

I  have a dataset with 6 columns. I want to have a column which has the count of rows having the same 4 column values (column1 to column 4 should match). Any thoughts to achive this?.

 

Example:

 

NumberColumn 1Column 2Column 3Column 4Column 5Column 6
123456111116
1234571111424
123458111156336
1234591111742
1234601111848
123461222216
1234622222424
123463222256336
1234642222742
1234652222848
1234662222424
123467222256336
1234682222424

 

Output:

NumberColumn 1Column 2Column 3Column 4Column 5Column 6Count
1234561111165
12346011118485
1234612222168
12346222224248
12345711114245
1234581111563365
1234632222563368
12346422227428
12345911117425
12346522228488
12346622224248
1234672222563368
12346822224248

 

 

1 REPLY 1
cmcclellan
13 - Pulsar

I think you just need a Summarize and a join

 

cmcclellan_0-1636862567453.png

 

Labels
Top Solution Authors