cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Choose Language Hide Translation Bar

Fill Data Table Columns with Sequential Data

Hello,

a newbie question:

Is there an option to use the "Fill" option with the sequential character ordinal data?

Currently the sequence of Character data is only repeated, and is not continued.

For example, I write "User 1", "User 2", "User 3", and want to continue the sequence till the end of the table (100 rows)
if I highlight the data I've entered and choose the "Fill to end of table", i get the repetitions of the first three rows.

Thanks in advance

3 REPLIES 3
jthi
Super User

Re: Fill Data Table Columns with Sequential Data

You could create one column with the numbers from 1-100 and then other with only "User". Then use formula to combine those two, remove formula and remove the original columns.

jthi_0-1657440553704.png

jthi_1-1657440592828.png

Column with "User" values should be first in the table

jthi_2-1657440641026.png

Then remove unnecessary columns if needed

jthi_3-1657440672559.png

Select Remove Formula here

jthi_4-1657440692576.png

 

 

 

-Jarmo
txnelson
Super User

Re: Fill Data Table Columns with Sequential Data

I find a little JSL can go a long way for simple tasks such as this.

New Table( "example",
	add rows( 100 ),
	New Column( "sequence", character, set each value( "User " || char( Row() ) ) )
);
Jim
Georg
Level VII

Re: Fill Data Table Columns with Sequential Data

In addition to jthi and Jim here how the formula can be built interactively as well:

 

Georg