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.

Grouping Columns under New Columns from Fields

jenjeong
5 - Atom

Hello,

I'm wondering if the transformation from the original data to the desired state is possible in Alteryx using one workflow.

The workflow I had before had too many manual reordering and renaming of columns, which I want to avoid since the data is dynamic and some groups may not have values for one group but may have values for another.

Any suggestions would be greatly appreciated, or even just a quick insight into if this can be achieved.

 

Current Workflow

Alteryx Sample 1.png

 

Input to Desired State

Alteryx Sample.png

1 REPLY 1
Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Hi @jenjeong ,

 

I tried to follow your format except for Subtotal Group A/B and multiple header rows.

I hope this might be of some help.

(I would use BI tool (such as Tableau) to do this kind of data visualization.)

 

Workflow

Community_1195164.png

Output image

Gr2A_XA_YA_ZB_XB_YB_ZTotal
Carrot 1814 12246
Banana4 6 13730
Apple1010 1113 44
Total14282011389120
Labels
Top Solution Authors