We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun 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

binuacs
21 - Polaris
KamenRider
11 - Bolide

Hi @binuacs,

 

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

binuacs
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 @binuacs 

 

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

 

macro error.PNG

Thanks,

Kamen

binuacs
21 - Polaris

@KamenRider connect the output from the summarise tool

image.png

KamenRider
11 - Bolide

Hi @binuacs 

 

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