Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

Subtotal and Grand Total Summary?

missteran
7 - Meteor

Hi Alteryx Community - looking to see if possible to help me layout - similar to how a pivot table lays out subtotals and grand totals? I'm a little confused using the Transpose or Crosstab icons - is there a simple way to lay it out similar to below?

 

Before:

BusinessIdentifierCustomerHierarchyLimitUtilized
CARS123456BINGODFHDHHD1,000,000500,000
CARS689761MELISSADFHYTHG2,000,0001,800,000
CARS546519OILFHGDDFH1,500,0001,000,000
HOUSES681123SHARONGFGSFDDF2,800,0002,000,000
HOUSES6654132KATEDFHFDSH9,200,0006,000,000
TRUCKS89741625CUPSBSGSDGS5,400,0004,000,000
TRUCKS65196163YELLOWGSDGSDGS6,700,0005,000,000

 

After:

BusinessIdentifierCustomerHierarchyLimitUtilized
CARS123456BINGODFHDHHD1,000,000500,000
CARS689761MELISSADFHYTHG2,000,0001,800,000
CARS546519OILFHGDDFH1,500,0001,000,000
CARS SUBTOTAL   4,500,0003,300,000
HOUSES681123SHARONGFGSFDDF2,800,0002,000,000
HOUSES6654132KATEDFHFDSH9,200,0006,000,000
HOUSE SUBTOTAL   12,000,0008,000,000
TRUCKS89741625CUPSBSGSDGS5,400,0004,000,000
TRUCKS65196163YELLOWGSDGSDGS6,700,0005,000,000
TRUCKS SUBTOTAL   12,100,0009,000,000
GRAND TOTAL   28,600,00020,300,000

 

4 REPLIES 4
binuacs
21 - Polaris

@missteran batch macro approach

image.png

Qiu
21 - Polaris
21 - Polaris

@missteran 
I would use the combination of Transpose and CrossTab to get the total, which is also dynamic.

0827-missteran.png

missteran
7 - Meteor

Hi Qiu and Binuacs - both solutions look great. I'm actually not familiar with batch macro so will have to look into it more but appreciate this - learning new things here!

Qiu
21 - Polaris
21 - Polaris

@missteran 
Good to know it helps, and we do help us each other and learn new things here. 😂

Labels
Top Solution Authors