Start Free Trial

Alteryx Designer Desktop Discussions

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

create row to sum values of the columns

Camiiara
6 - Meteoroid

Hi! i need to create a row at the end of the table to sum values of each column. The rows and columns are dynamic, they change every day. I already did the column with totals, but could not do the row with totals (red line).

 

Please see below an example of what i need to do:

 

Housecolor2-Jan3-Jan4-Jantotal
ared50  50
bblue10050 150
cbrown  2525
dyellow 100 100
epink510 15
fblack   0
TOTAL 15516025340

 

Thank you so much for the help! 

5 REPLIES 5
cmcclellan
14 - Magnetar

Create a Summarize tool that sums the columns that you're after, then union back to the original file

JamesCharnley
13 - Pulsar

HI @Camiiara 

 

There's actually a CReW Macro called Add Totals which can do this for you and make your life a bit easier. This will work for both columns and rows. Shoutout to @MarqueeCrew 

 

You can learn learn more about them and find the link to the download site here: https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/CReW-Macro-Support/ta-p/465740

MarqueeCrew
20 - Arcturus
20 - Arcturus

@JamesCharnley 

 

Thanks for the shout out for CReW

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Emmanuel_G
13 - Pulsar

@Camiiara 

 

Find attached the way of doing that for this particular case.

 

Emmanuel_G_0-1663763979733.png

 

ArijitRoy
8 - Asteroid

Hi Camiiara,

 

Please check the solution and let me know if it works.

 

ArijitRoy_0-1663767084588.png

 

Labels
Top Solution Authors