Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Multirow

Mina2021
8 - Asteroid

Hello,

 

I am wondering how to make my workflow like below using multirow tool -

alpha_123_0-1616168058466.png

If I not count the EL CODE col then Action will be in Odd place and Date Diff will be on Even place.

 

If anyone could help me, would be great!

 

Thank you so much!

 

4 REPLIES 4
danilang
19 - Altair
19 - Altair

Hi @Mina2021 

 

Modify your initial workflow like this

danilang_0-1616172107415.png

The multi-row tools add even column numbers to the top branch and odd ones to the bottom.  Crosstab using the column numbers as the column headers and the use a dynamic rename to get the original column headers back.  

 

Dan

Mina2021
8 - Asteroid

Hi  

 

 

 

 

danilang
19 - Altair
19 - Altair

Hi @Mina2021 

 

This new version should run faster since your original version had a crosstab/transpose pair on each branch that you can remove.  The new version has a single crosstab at the end

 

Dan 

Mina2021
8 - Asteroid

Hey Dan,

 

This is really helpful.

Thanks a lot.

Labels
Top Solution Authors