Alteryx Designer Desktop Discussions

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

Total sum or rows and columns

sn2200
7 - Meteor

hi,

 

I am trying the solve the below issue, can anyone please assist?

 

Current table: 

 

Row LabelsJanFebMar
abc1052
abcd1  
abcde2  

 

Desired result:

 

Row LabelsJanFebMarGrand Total
abc105217
abcd1  1
abcde2  2
Grand Total135220
2 REPLIES 2
ShankerV
17 - Castor

Hi @sn2200 

 

This can be easily done with the help of CREWS macro.

 

http://www.chaosreignswithin.com/p/macros.html

https://www.youtube.com/watch?v=I45UpLqXhSY

 

 

Many thanks

Shanker V

IraWatt
17 - Castor
17 - Castor

Hey @sn2200,

 

Here's one way of doing it with just the base tools though I would recommend just using the Macro suggested by @ShankerV. This way of doing it pivots the data so it does not matter how many month columns you have it will SUM them. This works because of the transpose which puts all the month values into one column before aggregating them:

IraWatt_0-1680691146301.png

This solution uses the transpose and cross tab tools which can be hard to understand to new users. I would recommend checking out the community Getting-Started-Learning-Path for some context on how they work: https://community.alteryx.com/t5/Learning-Paths/Getting-Started-Learning-Path/ta-p/475117#done

 

 

 

Labels