Free Trial

Alteryx Designer Desktop Discussions

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

Ask for Help

thua
7 - Meteor

Hi everyone, 

 

I have the assignment as below (project.xlsx and termination.xlsx). I need to have come up with the final result in file (final ter 1.xlsx) But I don't know how to using transpose to make all Name, department, access level, and some more rows to be header column. Please help me. Thank you very much.

4 REPLIES 4
PangHC
12 - Quasar

you need to
1. assign the column number and header id

2. transpose

3. join the header and value by Name and header id

4. crosstab.

 

Field 1Field 2typeid
NameNameheader1
ABvalue1
DeDeheader2
HRHRvalue2

 

typeidNameValue
header1

Field 1

Name

value

1Field 1A
header2Field 2Name
value2Field 2B

 

headerNamevalue
NameField 1A
NameField 2B

 

NameNameDe
Field 1AHR
Field 2BHR
Yoshiro_Fujimori
15 - Aurora
15 - Aurora

@thua ,

 

When I use Cross Tab Tool, I would design the table to input to Cross Tab (with the parmeters in mind).

In this case, I would group by "Field n" information, and I want a "Name" column to be used as Column name of the output table.

Once I get the image, I would transform the original table to fit the image.

 

Workflow

The first Cross Tab is to arrange the pair of [Name] and [Value] to feed to the Second Cross Tab.

workflow.png

 

Formula Tool

[Type] = IF Mod([Row], 2) = 1 THEN "Name" ELSE "Value" ENDIF

[Row] = CEIL([Row] / 2)

 

Output

output.png

 

I hope this helps.

Good luck.

 

thua
7 - Meteor

Thank you soo muchhhhh Yoshiro. I am learning and still confused on using transpose tool to get new arranged columns and data as I want but I can understand it more when I look into your workflow. Also very detail answer. Thank you very much !!!!

thua
7 - Meteor

I appreciate your help, but I get lost on it a bit. I was doing it back and forth and been while but couldn't get the new columns as I want, was so confused using transpose and cross tab tool. 

Labels
Top Solution Authors