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
AFaiz
Level II

Unlock column created with a formula and modify its content

Hello JMP team,

i have a set of data that I obtained from a temp sensor. Column 8 below has the time in the following format: hh:mm:ss:ms, the ms has three digits. I tired converting the column format to a time (only available option is h:m:s) but it is not working for some reason.

I have also used the Munger in the formula and deleted the ms portion in column 8, obtained data is in the 1st column (Time Absolute). i then tried to change the new column format to a time but it is locked and I am not able to modify it, I even tried making a copy (assuming that it is a column obtained with a formula) of the column but did not work either. 

my Goal is to get the time column with the correct format in order to plot it against other parameters.

Any recommendations/suggestions is highly appreciated.

AFaiz_0-1608611558856.png

 

4 REPLIES 4
txnelson
Super User

Re: Unlock column created with a formula and modify its content

I created a new column called JMP Time with ms and gave it the following attributes and format

jmptime.PNG

I applied the following formula to the column

In Hours( Num( Word( 1, :Column 8, ":" ) ) ) 
+ In Minutes( Num( Word( 2, :Column 8, ":" ) ) ) 
+ Num( Word( 3, :Column 8, ":" ) )
+ Num( Word( 4, :Column 8, ":" ) ) / 1000

and it gave me the following results

jmptime2.PNG

I believe this is what you want.

Attached is the above data table

Jim
AFaiz
Level II

Re: Unlock column created with a formula and modify its content

Thanks a lot, that is helpful.

So the formula converts the columns content into a number in seconds, and the column format (H:M:S) displays it as a time. is that right?

txnelson
Super User

Re: Unlock column created with a formula and modify its content

Correct
Jim
AFaiz
Level II

Re: Unlock column created with a formula and modify its content

Thank you

Recommended Articles