ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Sub Total in Row and % of Sub Total in New Column

Bob
6 - Meteoroid

Hi all, 

 

Attached please find a screenshot that shows an example of my input file and desired output. Would really appreciate if someone can guide me on how this can be achieved? 

 

Screenshot 2022-04-20 at 3.36.18 PM.png

3 REPLIES 3
Bob
6 - Meteoroid

I am able to get the sub total in row after every category now. Could anyone pls guide me on how to get % of Sub Total in new column?

Qiu
21 - Polaris
21 - Polaris

@Bob 
There is options in Cross Tab tool to get "Percent Column" and Total "Row", together with Batch Macro, here is what can get.

0420-Bob-01.PNG0420-Bob-02.PNG

JarekSkudrzyk
11 - Bolide

I really like @Qiu 's solution! Just added a few tools to calculate the Grand total as well:

JarekSkudrzyk_0-1650446372195.png

 

 

Labels
Top Solution Authors