cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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