Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

How to fill up values?

HW1
9 - Comet

I have a column from a pdf parser

 

I want to 'fill up' with consecutive integers

 

E.g.

 

I have a column as:

 

RecordIDValue
1R TAX INVOICE
2😃 WASTE
3202830
4BILL TO
5WASTE OPTIONS
6SANDRA & JOHN WRIGHT CONSULTING PTY LI
7PO BOX 118
8SEVEN HILLS, NSW 1730
11BP TRAVEL CENTRE BALLINA
1241 BRUXNER HIGHWAY
13WEST BALLINA, NSW 2478
14AUSTRALIA.
35566.28
40Page 1 of 20
41
42
43= I 202830
44BILL TO
45WASTE OPTIONS
46SANDRA & JOHN WRIGHT CONSULTING PTY LI
47PO BOX 118
48SEVEN HILLS, NSW 1730
50a [Jom Ce AP lead , Oi ayia) Amount GST Amount Incl.
51pyroe taco} ra ar @PoojitaBobba Nis Quantity UOM pees Excl. GST Amount GST
52BOC GAS & GEAR
5311 SNOW STREET
5719.8
62Page 2 of 20
63
64
65= 7 202830
66BILL TO
67WASTE OPTIONS
68SANDRA & JOHN WRIGHT CONSULTING PTY LI
69PO BOX 118
70SEVEN HILLS, NSW 1730
72a [Jom Ce AP lead , Oi ayia) Amount GST Amount Incl.
74HARVEY NORMAN WAREHOUSE
7510 WILSON STREET
81294.36
85ABN 83493775096 BES Cee RET
86Page 3 of 20

 

 

I want to fill it 'up' from the row containing the string "Page" as below:

 

RecordIDValueFill Up
1R TAX INVOICE 
2😃 WASTE 
3202830 
4BILL TO 
5WASTE OPTIONS 
6SANDRA & JOHN WRIGHT CONSULTING PTY LI 
7PO BOX 118 
8SEVEN HILLS, NSW 1730 
11BP TRAVEL CENTRE BALLINA1
1241 BRUXNER HIGHWAY2
13WEST BALLINA, NSW 24783
14AUSTRALIA.4
35566.285
40Page 1 of 206
41 
42 
43= I 202830 
44BILL TO 
45WASTE OPTIONS 
46SANDRA & JOHN WRIGHT CONSULTING PTY LI 
47PO BOX 118 
48SEVEN HILLS, NSW 1730 
50a [Jom Ce AP lead , Oi ayia) Amount GST Amount Incl.1
51pyroe taco} ra ar @PoojitaBobba Nis Quantity UOM pees Excl. GST Amount GST2
52BOC GAS & GEAR3
5311 SNOW STREET4
5719.85
62Page 2 of 206
63 
64 
65= 7 202830 
66BILL TO 
67WASTE OPTIONS 
68SANDRA & JOHN WRIGHT CONSULTING PTY LI 
69PO BOX 118 
70SEVEN HILLS, NSW 1730 
72a [Jom Ce AP lead , Oi ayia) Amount GST Amount Incl.1
74HARVEY NORMAN WAREHOUSE2
7510 WILSON STREET3
81294.364
85ABN 83493775096 BES Cee RET5
86Page 3 of 206

 

How can I do it?

 

Please find sample data in the workflow attached

1 REPLY 1
apathetichell
19 - Altair

Here's how I see it - you want the 6 lines above page break. We can identify where the page breaks are. We therefore create a new record id to replace the discontinuous one. We sort out the page breaks. Then we invert our usual record id generation schema and count down 6 rows form the record id of the page number. Re-join up and voila.

Labels