Alteryx Designer Desktop Discussions

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

Filling in a table with values from the first column

aarhintz
7 - Meteor

Hi everyone,

 

I need to go from data in the format of

 

Field1

A

B
C
D
E

 

to

 

Field1Field2Field3Field4Field5
ABCDE
BCDE 
CDE  
DE   
E    

 

I need the process to be flexible since fields with different lengths will be fed into my workflow.

 

Thanks!

4 REPLIES 4
CharlieS
17 - Castor
17 - Castor

There's probably a cleaner way to do this, but the attached solution will get the job done. Let me know if this works for you.

 

 

20180921-DecayingCrossTab.png 

 

 

 

 

 

aarhintz
7 - Meteor

This works perfectly.  Thank you!

aarhintz
7 - Meteor

Hi Charlie,

 

After some more testing, I noticed that things break down when I have two of the same value consecutively in my starting column.  Could you help me troubleshoot?  

 

Field1
A
B
C
C

 

Transforms to

 

Field1Field2Field3Field4Field5Field6Field7
ABCCCCC
BC     
C      

 

 

EDIT:

 

I figured out a way to solve my issue.  If you're curious, please see attached.

CharlieS
17 - Castor
17 - Castor

I'm happy to help. A Unique tool should take care of those duplicate values.

Labels