Alteryx Designer Desktop Discussions

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

Compare Columns

df
8 - Asteroid

Hello,

 

my data looks like this:

 spend1spend2spend3spend4...
row110101212...
..................

 

 

Now i want to compare evey column (like spend2 / row1) with the entry at the beginning. For example compare "spend2 /row1" with "spend1 /row1" - then "spend3/row1" with "spend1/row1".

The result sould get an entry in a new column in same row or in a new row.

 

The output should look like this:

 

 spend1spend2spend3spend4spend2/spend1spend3/spend1spend4/spend1
row110101215100%120%150%

 

or like this:

 

 spend1spend2spend3spend4
row110101215
output-100%120%150%

 

may someone can help

 

 

 

3 REPLIES 3
Claje
14 - Magnetar

Hi,

 

You should be able to do this with a series of formulas.


Do you have a variable number of Spend fields?

danrh
13 - Pulsar

Try the attached.  This should scale to however many rows/columns you're dealing with:

 

image.png

Hope it helps!

 

df
8 - Asteroid

Thank you very much :)
thats what i wanted.

Labels