Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Sum based on attribute

zoeuno
7 - Meteor

I'm working on a project which asked to sum the two field and eliminate one line if they have the same attribute (in my case, ID number).  For example, for my input below, as you can see, there are two entries with ID number 2, and the goal is to sum the two income with the ID 2 and get rid of one lines. It's straightforward in Excel, but I'm having difficulty implementing it into Alteryx, hope someone can help. Thanks!!

 

Input   Output 
IDIncome  IDIncome
15  15
27  217
210  315
35  416
310    
416    
1 REPLY 1
JoshKushner
12 - Quasar
You can use the Summarize Tool to get your desired results.

Group By: ID
Sum: Income
Labels
Top Solution Authors