Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Help on Data Transformation

mlu2422
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!

3 REPLIES 3
Thableaus
17 - Castor
17 - Castor

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,

mlu2422
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!

Thableaus
17 - Castor
17 - Castor

@mlu2422 

 

Here's the workflow on 2018.3 version.

 

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

 

Cheers,

Labels