Start Free Trial

Alteryx Designer Desktop Discussions

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

Adding data to empty rows from above record.

Alteryx_user_aK
8 - Asteroid

Hi,

 

I am getting a source file in below format

 

2023 | New York |M |2344.56|01012023
         |                 |G |343.56|01012023
         |                 |P |23474.56|01012023
         |                 |A |1000|01012023
         | Chicago   |B |2344.56|01012023
         |                 |   |888.34|02012023
         |                 |C |2345.56|02012023

 

But I want to generate output as per below 

 

2023 | New York |M |2344.56|01012023
2023 | New York |G |343.56|01012023
2023 | New York |P |23474.56|01012023
2023 | New York |A |1000|01012023
2023 | Chicago |B |2344.56|01012023
2023 | Chicago |B |888.34|02012023
2023 | Chicago |C |2345.56|02012023

 

How to achieve it ?

 

Thanks in advanced.

AK

6 REPLIES 6
ShankerV
17 - Castor

Hi @Alteryx_user_aK 

 

This can be achieved with the help of Text to columns tool using Pipe delimiter.

Then use Muti Row formula to achieve the output.

 

 

ShankerV
17 - Castor

Hi @Alteryx_user_aK 

 

A sample use case below for your scenario.

 

ShankerV_0-1677498031560.png

 

Many thanks

Shanker V

binuacs
21 - Polaris

@Alteryx_user_aK One way of doing thi

binuacs_0-1677499011194.png

 

Alteryx_user_aK
8 - Asteroid

I have downloaded and tested the solution. Both are working as expected. I go with first solution. 

thank you Shanker and binuacs. appreciated your help.

Alteryx_user_aK
8 - Asteroid

Thanks for your support

Alteryx_user_aK
8 - Asteroid

Thanks you Shanker

 

Labels
Top Solution Authors