Alteryx Designer Desktop Discussions

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

Sum column except for the own row

jbe0230
6 - Meteoroid

My problem is trying to create a summation of the entire column except the row itself...

 

For instance, if I have a list of states and sales, I want to to be able to see how all of the other states combined are doing against itself like in the third column below. 

 

StateSalesOther State Sales Total
Arkansas50370
California200220
Texas15405
Washington95325
Tennessee60360

 

I cannot for the life of me figure this one out.

 

4 REPLIES 4
ChrisTX
15 - Aurora

Sounds like you want a column for Percent of Total Sales.  See attached workflow.

 

Percentage of Sales.png

 

Chris 

pedrodrfaria
13 - Pulsar

Hi @jbe0230 

 

Please see attached for the solution to your question.

 

pedrodrfaria_0-1613095887114.png

 

Pedro.

apathetichell
18 - Pollux

You might be overthinking this. You have the total sales. You have the individual sales by state. Just subtract the individual state from the total.

 

Input. Summarize the total. Append it. Fomula for a new field to subtract out each state's entry from the total. Voila. Not sure how to post workflow pictures but I've attached a screengrab.

jbe0230
6 - Meteoroid

This is perfect! Thank you!

Labels