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

Total by above line items

kauser
8 - Asteroid

Hello, 

How can i get this following out put (Adding Total rows and % columns) from this input file 

 

Input Data 

Items Currency Amount 
XYEUR345435
XYUSD98787
ABCAD1232134
ABUSD6746499
HGEUR-564848
HGGBP-253348

 

Expected Output Data 

 

Expected output  
Items Currency Amount Percentage 
XYEUR34543578%
XYUSD9878722%
XY TOTAL 444222 
ABCAD123213415%
ABUSD674649985%
AB TOTAL 7978633 
HGEUR-56484869%
HGGBP-25334831%
HG TOTAL -818196 
3 REPLIES 3
binuacs
21 - Polaris

@kauser one way of doing this with batch macro

image.png

Qiu
21 - Polaris
21 - Polaris

@kauser 
I tried with a non-macro approach.

I go with the RecordID and sort the result with the RecordID afterwards.

1102-kauser.png

CoG
14 - Magnetar

Another non-macro solution for the viewing pleasure of those who enjoy Tool Golf ;)

Screenshot.png

Hope this helps and Happy Solving!

Labels
Top Solution Authors