Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Adding Totals Row

jenner85
8 - Asteroid

I would like to add a Grand total row for each column:

 

jenner85_0-1677789319968.png

 

It should end up looking like this:

jenner85_1-1677789335903.png

I think having the grand total under the dates is what is throwing me off figuring this out. 

 

thanks!

Jen

6 REPLIES 6
martinding
13 - Pulsar

Hi @jenner85 

 

Please see below for a possible approach

 

martinding_0-1677789784920.png

 

BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

@jenner85 here's one way, I will submit a more dynamic way shortly:

BS_THE_ANALYST_0-1677789891038.png

 

 

All the best,
BS

LinkedIN

Bulien
BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

@martinding perhaps more long winded than the other way (but this is more dynamic as it will work as the number of columns grow); we are leveraging the cross-tab to use the total row functionality. I had to add the extra steps at the end because I wanted to maintain your row order after the crosstab/transposing:
BS_THE_ANALYST_2-1677790338027.png

 

 

 

 

All the best,
BS

LinkedIN

Bulien
BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

@martinding it's situationally more dynamic. I withdraw my previous statement 😂

 

All the best,
BS

LinkedIN

Bulien
martinding
13 - Pulsar

@BS_THE_ANALYST Yes, haha, it is definitely a more dynamic approach!

jenner85
8 - Asteroid

Is it possible to do a subtotal based on the product type using the workflow you sent? I can only seem to get it to put out a total for everything...

jenner85_1-1678213009922.png

 

 

Labels