Alteryx Designer Desktop Discussions

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

Move Row Data To Columns

erickastupart
6 - Meteoroid

Hello!

 

Can someone help me transform data?  On the circled input data, I need to move the dates from each row to 3 date columns.

 

erickastupart_0-1682983109289.png

 

Below is how the input data looks and how the output should look.

erickastupart_1-1682983438970.png

 

Thank you.

7 REPLIES 7
ShankerV
17 - Castor

Hi @erickastupart 

 

One way of doing this.

 

ShankerV_0-1682984005313.png

 

ShankerV
17 - Castor

Hi @erickastupart 

 

Step 1: Input

 

ShankerV_0-1682984044407.png

Step 2:

 

ShankerV_1-1682984061465.png

ShankerV_2-1682984080936.png

 

Step 3: 

 

ShankerV_3-1682984096061.png

ShankerV_4-1682984104483.png

replace([_CurrentField_],"_","/")

 

Many thanks

Shanker V

 

erickastupart
6 - Meteoroid

Hi @Shanker V,

 

I don't have the concatenate option.

 

erickastupart_0-1682985364281.png

 

Qiu
20 - Arcturus
20 - Arcturus

@erickastupart 
In your case, you can use Sum option, I assume.

erickastupart
6 - Meteoroid

Hi,

 

I've used the Sum option and followed the remaining suggested steps, however the dates are still in the columns.

 

The example I attached may have been too basic.

 

Below is the output with the suggested steps.  I already had some column dates and amounts, however the dates in the Comparison Period need to appear as column headers for the amounts in the Comparison Period Amt column.

 

erickastupart_1-1682987416021.png

 

Thanks,

Qiu
20 - Arcturus
20 - Arcturus

@erickastupart 
Can you kindly share a sample data as above?

erickastupart
6 - Meteoroid

New sample data is below:

erickastupart_0-1682989077492.png

 

Labels