Alteryx Designer Desktop Discussions

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

Remove Suffix from Date column and repeat rows based on condition

AnanditaShankar
8 - Asteroid

Hi , I want to remove " ET" or "CT" from my column A to D i.e all the columns having date with a suffix. Also if the diff between "From Date " and "To Date" is more than 1 day then I want the rows to repeat for that many times..  For eg : If the difference is 7 days then that row should repeat for 7 times . 

4 REPLIES 4
binuacs
20 - Arcturus

@AnanditaShankar One way of doing this with the Multi-Field formula

 

binuacs_0-1662377016845.png

 

AnanditaShankar
8 - Asteroid

Thanks binuacs. Also in the same workflow , if I want to increment the "From Date" to next date based on "DateDiff" , what could be done ? Please see desired output in below screenshot. Highlighted is the "From Date" column.

AnanditaShankar_0-1662380037635.png

 

binuacs
20 - Arcturus

@AnanditaShankar use one more row generate tool to generate the expected result you mentioned above

 

binuacs_0-1662386769425.png

 

AnanditaShankar
8 - Asteroid

Thanks binuacs . This is helpful

Labels