Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Need help to Combine duplicate rows with one column being unique

sophie_mackintosh
7 - Meteor

 

 

I have tried lots of ways in Alteryx to allow me to combine the duplicate rows - where  everything is  the same expect the amount I would like to combine these so i  get one row with an amount like 6777000 + 123000 = 69000000

ideally what I want:

KeyIDDPOT_IDDEPOT_2ID_2CURRENCYAMOUNT
B2RB0L020825CAP95N053115510097609USD69000000

 

what I have:

 

KeyIDDPOT_IDDEPOT_2ID_2CURRENCYAMOUNT
B2RB0L020825CAP95N053115510097609USD6777000
BG48SD020825CAP95N053115510097609USD123000
BFMLP4492857WBL37N053115518894891USD1228000
BYWFV8892857WBL37N053115518894891USD6666000
BDZTYH71684780205N001115517145512GBP2087000
BZ0WZJ41684780205N001115517145512GBP181000
BF2GGF21862518062N001115519338555GBP361000
BF2GGF61862518062N053115519338555GBP22259000

 

 

I have tries lots of ways, can anyone suggest something 'easy' in Alteryx?

7 REPLIES 7
DavidP
17 - Castor
17 - Castor

Like this?

 

DavidP_0-1584638272604.png

 

BrandonB
Alteryx
Alteryx

The summarize tool should help here

 

Key -> First

ID -> Group By

DPOT ID -> Group By

DEPOT_2 -> Group By

ID_2 -> Group By

Currency -> Group By

Amount -> Sum

sophie_mackintosh
7 - Meteor

I'm going to try this and let you know - as thier are many records which are not duplicates based on those fields, and i do not want them combined. like the last row for example. I'll try your example tough thank you !

JosephSerpis
17 - Castor
17 - Castor

Hi @sophie_mackintosh I mocked up a workflow let me know what you think?

sophie_mackintosh
7 - Meteor

What will happen to the last two rows, if I use summarize?

BrandonB
Alteryx
Alteryx

The last two rows would exist as is

sophie_mackintosh
7 - Meteor

This worked! Thank you so much!

Labels