Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Adding Totals Row

jenner85
アステロイド

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件の返信6
martinding
パルサー

Hi @jenner85 

 

Please see below for a possible approach

 

martinding_0-1677789784920.png

 

BS_THE_ANALYST
マグネター

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

BS_THE_ANALYST_0-1677789891038.png

 

 

BS_THE_ANALYST
マグネター

@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

 

 

 

 

BS_THE_ANALYST
マグネター

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

 

martinding
パルサー

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

jenner85
アステロイド

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

 

 

投票
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
ラベル