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:
Business | Identifier | Customer | Hierarchy | Limit | Utilized |
CARS | 123456 | BINGO | DFHDHHD | 1,000,000 | 500,000 |
CARS | 689761 | MELISSA | DFHYTHG | 2,000,000 | 1,800,000 |
CARS | 546519 | OIL | FHGDDFH | 1,500,000 | 1,000,000 |
HOUSES | 681123 | SHARON | GFGSFDDF | 2,800,000 | 2,000,000 |
HOUSES | 6654132 | KATE | DFHFDSH | 9,200,000 | 6,000,000 |
TRUCKS | 89741625 | CUPS | BSGSDGS | 5,400,000 | 4,000,000 |
TRUCKS | 65196163 | YELLOW | GSDGSDGS | 6,700,000 | 5,000,000 |
After:
Business | Identifier | Customer | Hierarchy | Limit | Utilized |
CARS | 123456 | BINGO | DFHDHHD | 1,000,000 | 500,000 |
CARS | 689761 | MELISSA | DFHYTHG | 2,000,000 | 1,800,000 |
CARS | 546519 | OIL | FHGDDFH | 1,500,000 | 1,000,000 |
CARS SUBTOTAL | 4,500,000 | 3,300,000 | |||
HOUSES | 681123 | SHARON | GFGSFDDF | 2,800,000 | 2,000,000 |
HOUSES | 6654132 | KATE | DFHFDSH | 9,200,000 | 6,000,000 |
HOUSE SUBTOTAL | 12,000,000 | 8,000,000 | |||
TRUCKS | 89741625 | CUPS | BSGSDGS | 5,400,000 | 4,000,000 |
TRUCKS | 65196163 | YELLOW | GSDGSDGS | 6,700,000 | 5,000,000 |
TRUCKS SUBTOTAL | 12,100,000 | 9,000,000 | |||
GRAND TOTAL | 28,600,000 | 20,300,000 |
Solved! Go to Solution.
@missteran batch macro approach
@missteran
I would use the combination of Transpose and CrossTab to get the total, which is also dynamic.
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!
@missteran
Good to know it helps, and we do help us each other and learn new things here. 😂