Sorry if this question is either impossible or extremely easy to accomplish, I am still fairly new to Alteryx and can't seem to figure this one out.
So I have a data set that consists of the following columns: Year, Account, Entity, and Amount. In my data set I have one entity that the amount for a certain account needs to be combined with another account and that row needs to be removed.
In short, I need some sort of formula like "If the account number is 56, take the amount from entity 5 and add it to the amount for entity 1 then delete the row for account 5"
Here is a screenshot to make life simpler. Thanks!
Solved! Go to Solution.
Okay so I've updated everything and here's what I have.
The account field is set to string
The entity field is set to string
The Total field is set to double
After using the updated formula I am still getting an error, this time it says "The formula "New Entity" resulted in a string but the field is numeric. Use ToNumber(...) if this is correct. (Expression #1)
You can put a ToNumber() formula before both the Entity and Account fields, however it doesn't seem like you will be performing any arithmetic calculations off of this field. Is your New Entity field type set to a String or a Double? If it's set to a Double right now, please change it to a String within the formula tool itself.
That fixed it the error. I am heading home for today and I'll try to see if I can get this workflow to do what I need it to do. Thanks for all the help, you rock!
User | Count |
---|---|
19 | |
15 | |
15 | |
9 | |
8 |