cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
chandankishor66
Level III

How to fill missing dates within column

Hi JMP users,

I have a table which contains two columns.

1. Time

2. Date.

Time column has continuous entries but Date column has only few entries and that entries denote samples loading time/date.

How to completly fill the date coulm for each day. Screnshoot attached below

 

chandankishor66_0-1665028604618.png  chandankishor66_1-1665028643993.png

Regards,

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to fill missing dates within column

Interactively, you can right click on a filled date cell and select "fill", and then you can choose to fill to the end of the table, or fill to a specified row.

Or you can run this little script and it will do the job for you

Names Default To Here( 1 );
dt = Current Data Table();

For Each Row(
	If( Is Missing( :date ) == 0,
		currDate = :date
	);
	:date = currDate;
);
Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: How to fill missing dates within column

Interactively, you can right click on a filled date cell and select "fill", and then you can choose to fill to the end of the table, or fill to a specified row.

Or you can run this little script and it will do the job for you

Names Default To Here( 1 );
dt = Current Data Table();

For Each Row(
	If( Is Missing( :date ) == 0,
		currDate = :date
	);
	:date = currDate;
);
Jim

Recommended Articles