Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Converting single column into rows

ArnabSengupta
8 - Asteroid

Hi All,

 

I have a dataset, where it gives sale of 3 product based on different months.

 

I want to convert the Months column into rows so products are not duplicated for each month.

 

I have attached an excel file to this and also sheet 2 contains the expected output.

 

Help is much appreciated

 

Thank you! 

8 REPLIES 8
AkimasaKajitani
17 - Castor
17 - Castor

Hi @ArnabSengupta 

 

I can't find the month column from your sample file.

But according to the Desired Output, I made the sample workflow.

 

Step is as follows.

1. I filled the empty value of "Order number" and "Product number" by using Multi-row formula.

2. I made the field of Make1~3 by using Tile tool.

3. After that, I used the Cross Tab into desired output.

AkimasaKajitani_0-1628825941158.png

 

Please check the attached workflow. If you have any question, let me know.

 

ArnabSengupta
8 - Asteroid

Hi @AkimasaKajitani : I am sorry for the mishap, I uploaded a wrong file. I have updated it with the correct file. Kindly take a look into it.

 

Thank you!

messi007
15 - Aurora
15 - Aurora

@ArnabSengupta,

 

You can do this with cross tab tool.

Please see below:

 

messi007_0-1628841010510.png

 

Attached the workflow.

 

Hope this helps!

Regards

 

HomesickSurfer
12 - Quasar

Hi @ArnabSengupta 

 

Here's my approach that includes all calendar months, including those not present in your data(without sales), and; with columns in left-right order (Jan-Dec)...assuming that you will require that.

 

Workflow attached.

 

Monthly Sales 1.PNG

atcodedog05
22 - Nova
22 - Nova

Hi @ArnabSengupta 

 

Just adding another approach to the mix 🙂

 

Workflow:

atcodedog05_0-1628860665559.png

 

Hope this helps : )

 

ArnabSengupta
8 - Asteroid

Thank you all for helping me out on this.

 

Cheers!

HomesickSurfer
12 - Quasar

Hi @ArnabSengupta 

 

Did you not require columns for.months without sales, as per your sample output?

Kamran1991
11 - Bolide

You can use this also

2.PNG

1.PNG

  

Labels