The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
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.
SOLVED

How to Transform Cross-Tab Data to List Format in Alteryx

KamenRider
11 - Bolide

Hi

 

Could someone guide me on the best approach to achieve this transformation in Alteryx? Any tips on using specific tools or configurations would be greatly appreciated. Note also that there are a lot more reject reasons that will be added and hoping that the total will also adjust.

 

I have attached the input file for your reference. Below is also the screenshot.

 

Input reject.PNG

This is the output I would like to generate. 

 

reject analysis output.PNG

 

Please help.

 

Thanks,

Kamen

13 REPLIES 13
VarunShashidhar
6 - Meteoroid

Hi Kamen, 

you need to use the crosstab function to get the desired output. i have attached the workflow.

 
 

Regards,

Varun 

VarunShashidhar
6 - Meteoroid

the expected result will match with this workflow if you do not consider the date column

KamenRider
11 - Bolide

Hi @VarunShashidhar 

 

Thanks for the response however, I need the output to look like this as shown below. I hope you can help me on this.

 

reject analysis output.PNG

Thanks,

Kamen

binu_acs
21 - Polaris
KamenRider
11 - Bolide

Hi @binu_acs,

 

Thanks for the response. The workflow is good however is there a way we can make the ID dynamic? I encountered an error when a new ID comes in. And I do hope same also with the date since this is being reported every week with different data. See below screenshot.

 

ID need to be Dynamic.PNG

Looking forward for your continued assistance.

 

Thanks,

Kamen

binu_acs
21 - Polaris

@KamenRider I changed the summarize tool with with a dynamic summarise macro, it should work for any dynamic id values

image.png

KamenRider
11 - Bolide

Hi @binu_acs 

 

What does this error means and how do i fix it.

 

macro error.PNG

Thanks,

Kamen

binu_acs
21 - Polaris

@KamenRider connect the output from the summarise tool

image.png

KamenRider
11 - Bolide

Hi @binu_acs 

 

I have apply the "con_cat expression" as advised however I have new error. Please below:

 

error2.PNG

Please advise:

Kamen

Labels
Top Solution Authors