Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Remove duplicate rows of data based on minimum value

chc9
7 - Meteor

Hi,

Pls can you help me remove duplicated rows for Customer & Product and keep the Customer/Product combination with lowest price.

I could use Unique Customer/Product but that would not keep my lowest price for each Customer/Product combination.

Thank you,

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@chc9 

We can do a sorting for Customer & Product with Price being assending order, then use a sample tool to take the first one from group of Customer & Product.

0419-chc9.PNG

DawnDuong
13 - Pulsar
13 - Pulsar

Hi @chc9 

you can use Summarize tool, with settings that

- group by: the fields that uniquely identify the combinations you need. In this case, you choose “Group by” customer and product 

- “Min” price

this way you can get the Minimum price for each combination.

dawn

Labels
Top Solution Authors