Join the Inspire AMA with Joshua Burkhow, March 31-April 4. Ask, share, and connect with the Alteryx community!

Alteryx Designer Desktop Discussions

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

How do you create a "pivot table" and sum multiple criteria

gchong96
5 - Atom

if i have data like this, and want to summarize it based on entity and account category how do i do that?

 

From this:

 

entityaccount #account category2022202320242025
canada1000cash100200100400
canada1001cash    
us1000cash400200200200
us1005cash300200200200
australia100cash100  200
australia400cash100   
nz100cash 100 100
nz400cash    

 

to this

 

entityaccount category2022202320242025
canadacash100200100400
uscash700400400400
australiacash200  200
nacash 100 100
4 REPLIES 4
alexnajm
18 - Pollux
18 - Pollux

Transpose one way (first three are key fields, the year fields are the years), then Crosstab back (group by entity and account category, header is name, value is value, and sum for aggregation)

flying008
15 - Aurora

Hi, @gchong96 

 

FYI.

 

录制_2025_03_01_10_39_38_233.gif

alexnajm
18 - Pollux
18 - Pollux

Exactly as I said 😊 the benefit to the transpose Crosstab option is the fact that if more years come in, they will

get automatically included!

flying008
15 - Aurora

Hi, @alexnajm 

 

Yes, you are !

Labels
Top Solution Authors