Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Alteryx is here to help you solve your biggest data challenges. Read about the new Virtual Solution Center here.
SOLVED

Help on Data Transformation

Highlighted
7 - Meteor

Hi Community,

 

I'm struggling with transforming data. I have attached the excel spreadsheet that shows what my input file looks like and also my desired output. For me, it is tricky to move each jurisdiction down with the values included and stack them on top of each other. The format of my output file has to be in the same way that I want in the spreadsheet. 

 

Much appreciated if anyone has a solution for this. Thanks!

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

Hi @mlu2422 

 

Here's my solution:

111.PNG

- Add a Record ID

- Transpose everything

- Use Regex Formula to replace all "F" fields to the closest valid field

- Tile Tool to give an Unique Value to each sequence of Record ID and Field Name

- Filter by Record ID = 1 (that's the header)

- Join the header to respective values by Tile Sequence Number

- Cross-Tab Tool grouping by Name (which is the city names) and Right_RecordID (which is the Row ID for values)

- Filter all rows completely empty.

- Select Tool to rename columns and put everything in order.

 

Workflow in version 2018.4 appended.

 

Cheers,

Highlighted
7 - Meteor

@Thableaus I cannot open the zip workflow since I currently have version 2018.3. Could you show screenshots of your configuration panel for the tile and cross tab tool close to the end? 

 

Thanks!

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

@mlu2422 

 

Here's the workflow on 2018.3 version.

 

Change the input tool to your Input sheet of your excel file.

 

Cheers,

Labels