Free Trial

Alteryx Designer Desktop Discussions

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

Adding empty row

arkimp
8 - Asteroid

I want to add an empty row after every 4 rows in the output. Please provide the best possible to achieve this. 

8 REPLIES 8
Martyn
9 - Comet

A more elegant solution escapes me at the moment, but you could try this......

Martyn_0-1663916292553.png

 

arkimp
8 - Asteroid

Thanks for the solution.  However, it is not working, if the input file has multiple fields 

JamesCharnley
13 - Pulsar

I would use Generate Rows to create a kind of fractional Record ID with no other rows, then when you union it on it should be null in all other columns.

 

JamesCharnley_0-1663925763847.png

 

 

Let me know if that helps.

 

James

arkimp
8 - Asteroid

Thanks for the solution. One small issue is, we are getting multiple null rows.  Need to remove all the NULL rows from the end of the data rows. 

 

 

arkimp_0-1663927911490.png

 

 

JamesCharnley
13 - Pulsar

A couple of different ways I might handle this. Could change the condition expression in the generate rows to make fewer rows, or add a multi row afterwards to add a tags to null rows we want to keep, and then cleanse the rest out. I've attached one way that works.

 

JamesCharnley_0-1663932897202.png

 

binuacs
21 - Polaris

@arkimp Can you provide a sample input file with mocked data?

Christina_H
14 - Magnetar

Here's my version

Christina_H_0-1663932384371.png

 

Rutujabothara
5 - Atom

Any Solution of adding 3 Rows at only the start for the output?

Labels
Top Solution Authors