In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more 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