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

Selecting the Recent Column

hemantkumar622
6 - Meteoroid

I want the data to be compared from the most recent column to be picked in he brand new column.

 

For example - I have 5 columns and most recent starts from last column , 5th, 4th , 3rd, 2nd and 1st. If the data on the 5th column , it should pick the data from the 5th col to the new col, If the data  is on the 3rd Column  and 4th and 5th Col is blank, it should pick the data from 3rd column and so on

Illustration -  attached

 

6 REPLIES 6
mceleavey
17 - Castor
17 - Castor

Hi @hemantkumar622 ,

 

can you please post some example data so we can help you?

 

M.



Bulien

hemantkumar622
6 - Meteoroid

Please refer to the attached file

mceleavey
17 - Castor
17 - Castor

@hemantkumar622 ,

 

A bit of transpose and crosstab magic should do the trick:

 

mceleavey_0-1623851962101.png

 

 

mceleavey_1-1623851982215.png

 

Hope this helps,

 

M.

 



Bulien

Maskell_Rascal
13 - Pulsar

Hi @hemantkumar622 

 

This should work for you. Transpose, Filter, and a Sample Tool will get you the output needed, and then you can just Join it back to your main data. 

 

Maskell_Rascal_0-1623852546023.png

 

Cheers!

Phil

hemantkumar622
6 - Meteoroid

Thanks a lot . This works for me

mceleavey
17 - Castor
17 - Castor

no problem.gif



Bulien

Labels