Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Data Grouping and sum

Belletmns
8 - Asteroid

Hello Everyone,

 

Need your help please on how to group and sum my data.

 

 

My Data:

     
CompanyYearEE #EE employment StatusC Status
Company 12016EE1ActiveClosed
Company 12017EE2TerminatedLive
Company 22020EE3ActiveClosed
Company 22021EE4ActiveLive
Company 32022EE5TerminatedClosed

 

My desired output:

 

Row LabelsActive - ClosedActive - LiveTerminated - ClosedTerminated - LiveGrand Total
Company 11  12
20161    
2017   1 
Company 211  2
20201    
2021 1   
Company 3  1 1
2022     
Grand Total21115

 

Thank you in advance!

3 REPLIES 3
Kurohits
10 - Fireball

Hi @Belletmns 

 

Can you please recheck your output? Because I see Row Labels have individual rows rather than grouping on column? Are you sure that you want this output? 

AngelosPachis
16 - Nebula

Hi @Belletmns ,

 

Here's one way to do it. Sorting everything properly might get a bit fiddly, but I hope it does the job.

 

AngelosPachis_1-1623304445233.png

 

Please let me know if you have any questions.

 

Cheers,

 

Angelos

Belletmns
8 - Asteroid

Thank you, it works!

Labels
Top Solution Authors