cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

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