Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

How to add 2 rows in Alteryx for all the numeric columns?

I have a data problem wherein I need to sum two rows and paste the values in a third new row. Here is my sample dataset:

Capture.PNG

 

And this is the Output that I need: 

Capture.PNG 

 

That is if the value of A is "y" or "Z", I want to add them and store the values in the row where A is "T"

I tried using multirow formula but I was only able to do this for one column at a time. This is difficult as in the original dataset there are over 40 columns and this kind of summing is required multiple times.

 

Any help will be appreciated!

2 REPLIES 2
LordNeilLord
15 - Aurora

Hi @Prachi_Jhunjhunwala

 

You would be better to transpose the data first and then crosstab it back (summing the values) like so:

 

NewSum.PNG@LordNeilLord

Part time Tableau, Part Time Alteryx. Full Time Awesome


Data Lover

Hi @LordNeilLord,

 

Thanks for the quick reply and solution.

 

Here is one more approach I found which can be useful for everyone:

Capture.PNG

 

and the output is: 

Capture.PNG

 

Thanks

Prachi

Labels