<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help doing a table transform and converting a timestamp? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303252#M56016</link>
    <description>&lt;P&gt;Thank you Jim and Jeff, those work great! I am reading up on word() right now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question about the timestamps: how would I convert this to a raw time duration? I'm seeing there's the "Date Difference" formula, but it looks like it needs two columns. How do I just make this a time series starting at 0.000s --&amp;gt; max time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question about scripting the stack command: looking at the script, it has a unique row for every column....how to make this dynamic for the next time I pull this data file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Data Table( "Sheet1" ) &amp;lt;&amp;lt; Stack(
columns(
:Name( "14-07-2020T22:47:31.400Z" ),
:Name( "14-07-2020T22:47:31.500Z" ),
:Name( "14-07-2020T22:47:31.600Z" ),
....for every column...
),
Source Label Column( "TimeStamp" ),
Stacked Data Column( "data" ),
Output Table( "sensor table" )
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 09 Sep 2020 03:35:57 GMT</pubDate>
    <dc:creator>aliegner1</dc:creator>
    <dc:date>2020-09-09T03:35:57Z</dc:date>
    <item>
      <title>Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303091#M56007</link>
      <description>&lt;P&gt;so I've got a data table from a sensor that I am not quite sure how to get formatted correctly. It's a light sensor that outputs voltage readings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first column in the table is the wavelength measured and then there's 100+ columns for each time instance it measures data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I go about transforming or pivoting this correctly? Would just a Table Transpose be the correct activity?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next, advice on how to convert raw timestamp into a usable timeseries? It comes out looking like this.&lt;/P&gt;&lt;P&gt;DD-MM-YYYYTHH:MM:SS.###Z&lt;/P&gt;&lt;P&gt;what can I do to convert this into a usable timeseries value to plot as an x-axis? It's down to the thousandth of a second, 0.1s increments.&lt;/P&gt;&lt;P&gt;Bonus, how to do this to find the min and max and normalize the time to be 0--&amp;gt;max?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;...
14-07-2020T22:47:31.400Z
14-07-2020T22:47:31.500Z
14-07-2020T22:47:31.600Z
14-07-2020T22:47:31.700Z
14-07-2020T22:47:31.800Z
14-07-2020T22:47:31.900Z
...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:05:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303091#M56007</guid>
      <dc:creator>aliegner1</dc:creator>
      <dc:date>2023-06-11T11:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303206#M56011</link>
      <description>&lt;P&gt;I think all you need is &lt;A href="https://www.jmp.com/support/help/en/15.2/#page/jmp/stack-columns.shtml#" target="_self"&gt;Tables-&amp;gt;Stack&lt;/A&gt; putting your time columns in the Stack Columns role.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should end up with two columns, wavelength and time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for converting your timestamp into a JMP datetime column, &lt;A href="https://www.jmp.com/support/help/en/15.2/#page/jmp/character-functions.shtml#ww128266" target="_self"&gt;Word()&lt;/A&gt; and &lt;A href="https://www.jmp.com/support/help/en/15.2/#page/jmp/date-time-functions.shtml#ww123225" target="_self"&gt;Informat()&lt;/A&gt; are my go to here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-09-08_21-09-56.037.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26652i9437615BB34CD0A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2020-09-08_21-09-56.037.png" alt="2020-09-08_21-09-56.037.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Further reading:&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="If you learn only one Formula Editor function, Word() is the one" uid="30381" url="https://community.jmp.com/t5/JMP-Blog/If-you-learn-only-one-Formula-Editor-function-Word-is-the-one/m-p/30381#U30381" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Using dates, times, datetimes and durations in JMP" uid="68689" url="https://community.jmp.com/t5/JMPer-Cable/Using-dates-times-datetimes-and-durations-in-JMP/m-p/68689#U68689" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 01:19:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303206#M56011</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2020-09-09T01:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303207#M56012</link>
      <description>&lt;P&gt;Concerning your data, I would suggest that you look into Stacking the columns.&amp;nbsp; That form will give you more JMP tools for analysis.&lt;/P&gt;
&lt;P&gt;In regards to your Timestamp issue....here is an example script that takes an input column called "TS" and converts it into a JMP Date/Time column.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);
dt = New Table( "Example",
	Add Rows( 6 ),
	New Column( "TS",
		Character,
		"Nominal",
		Set Values(
			{"14-07-2020T22:47:31.400Z", "14-07-2020T22:47:31.500Z",
			"14-07-2020T22:47:31.600Z", "14-07-2020T22:47:31.700Z",
			"14-07-2020T22:47:31.800Z", "14-07-2020T22:47:31.900Z"}
		)
	)
);

dt &amp;lt;&amp;lt; New Column( "Column 2",
	Numeric,
	"Continuous",
	Format( "d/m/y h:m:s", 26, 3 ),
	Input Format( "d/m/y h:m:s", 0 ),
	Formula( Informat( Word( 1, :TS, "Z" ), "d/m/y h:m:s" ) )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Sep 2020 01:26:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303207#M56012</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-09-09T01:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303208#M56013</link>
      <description>&lt;P&gt;Jeff,&lt;/P&gt;
&lt;P&gt;I guess my age is showing.....you beat me to the answer again.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 01:28:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303208#M56013</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-09-09T01:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303252#M56016</link>
      <description>&lt;P&gt;Thank you Jim and Jeff, those work great! I am reading up on word() right now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question about the timestamps: how would I convert this to a raw time duration? I'm seeing there's the "Date Difference" formula, but it looks like it needs two columns. How do I just make this a time series starting at 0.000s --&amp;gt; max time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question about scripting the stack command: looking at the script, it has a unique row for every column....how to make this dynamic for the next time I pull this data file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Data Table( "Sheet1" ) &amp;lt;&amp;lt; Stack(
columns(
:Name( "14-07-2020T22:47:31.400Z" ),
:Name( "14-07-2020T22:47:31.500Z" ),
:Name( "14-07-2020T22:47:31.600Z" ),
....for every column...
),
Source Label Column( "TimeStamp" ),
Stacked Data Column( "data" ),
Output Table( "sensor table" )
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Sep 2020 03:35:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303252#M56016</guid>
      <dc:creator>aliegner1</dc:creator>
      <dc:date>2020-09-09T03:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303253#M56017</link>
      <description>To convert a Time Stamp(JMP Date/Time) column to just a time value, you use the Time of Day() function.  It effectively returns the number of seconds from the previous midnight to the time of the measurement.&lt;BR /&gt;Concerning the stacking when he column names change from day to day......it is a simple matter to get a list of the columns in the data table, and then apply that list to the Stack Platform statements.  The message to pass to the data table to retrieve the column names is    dt &amp;lt;&amp;lt; get column names().&lt;BR /&gt;&lt;BR /&gt;Would it be possible to attach a sample data table or spreadsheet of your data.  It is pretty tough seeing the specifics of the input data, which may result in passing on bogus directions.</description>
      <pubDate>Wed, 09 Sep 2020 04:05:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303253#M56017</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-09-09T04:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303254#M56018</link>
      <description>&lt;P&gt;See attached subset (pre stacked).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the time of day, but then need to guard against conditions when a run occurs over midnight and the day changes? I'm zeroing it out by doing [time of day() - col minimum(time of day())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 04:25:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303254#M56018</guid>
      <dc:creator>aliegner1</dc:creator>
      <dc:date>2020-09-09T04:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303447#M56025</link>
      <description>&lt;P&gt;Here is a little script that should give you a good "leg up" in getting your data into an analytical format. It takes your sample data table and creates:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lamda.PNG" style="width: 567px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26657iF4522B93612FB87C/image-size/large?v=v2&amp;amp;px=999" role="button" title="lamda.PNG" alt="lamda.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=current data table();

// Get the column names from the data table
colNames = dt &amp;lt;&amp;lt; get column names;

// Remove Lamda from the list
remove from(colNames,1,1);

// Stack the data
dtStack = dt &amp;lt;&amp;lt; Stack(
	columns(
		colNames
	),
	Source Label Column( "Label" ),
	Stacked Data Column( "Data" ),
	Output Table( "Stacked" )
);

// Create a new JMP DateTime column
dtStack &amp;lt;&amp;lt; New Column( "Timestamp",
	Numeric,
	"Continuous",
	Format( "d/m/y h:m:s", 26, 3 ),
	Input Format( "d/m/y h:m:s", 0 ),
	Formula( Informat( Word( 1, :Label, "Z" ), "d/m/y h:m:s" ) )
);

// Remove formula to convert column to static values
dtStack:Timestamp &amp;lt;&amp;lt; delete formula;

// Create the Time variable
dtstack &amp;lt;&amp;lt; New Column( "Time",
	Numeric,
	"Continuous",
	Format( "hr:m:s", 17, 3 ),
	Input Format( "hr:m:s", 0 ),
	Formula( Time Of Day( :Timestamp ) )
);

// Get rid of no longer needed "Label" column
dtStack &amp;lt;&amp;lt; delete columns( "Label" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 10:50:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303447#M56025</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-09-09T10:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303575#M56036</link>
      <description>&lt;P&gt;Awesome Jim!&amp;nbsp;&lt;/P&gt;&lt;P&gt;a few questions to see what you think:&lt;/P&gt;&lt;P&gt;- how to guard against a run that goes over midnight into the next day? using Time of Day to get an absoluteTime or normalize it to start on zero would be affected by a run spanning 2 days.&lt;/P&gt;&lt;P&gt;- Thoughts on converting the Lambda col to a character column? It's essentially a label, so it should not be numeric, right? Its measuring at several wavelengths t then plot data v time.&lt;/P&gt;&lt;P&gt;- how could I embed the original file into the newly created data table? I changed the initial dt = --&amp;gt; to a file open dialog.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aliegner1_0-1599664781165.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26660i6B1747D608C7CB38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aliegner1_0-1599664781165.png" alt="aliegner1_0-1599664781165.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 15:20:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303575#M56036</guid>
      <dc:creator>aliegner1</dc:creator>
      <dc:date>2020-09-09T15:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303660#M56041</link>
      <description>&lt;P&gt;Given the questions you are asking, my first response it that you need to do some reading.&amp;nbsp; You need to go through both the Discovering JMP and Using JMP documents.&amp;nbsp; Both are available in the JMP Documentation Library under the Help pull down menu.&lt;/P&gt;
&lt;P&gt;Concerning the day overflow issue....what you will need to do is to check to see if the Date Difference() is greater than 0 days, and if not, then calculate the time as required.&lt;/P&gt;
&lt;P&gt;Lamda does not have to be changed to a character.&amp;nbsp; But it can easily be done that by changing the Data Type.&amp;nbsp; Or you can simply change the Modeling Type to Ordinal or Nominal.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:Lamda &amp;lt;&amp;lt; Data Type(character);
// or
:Lamda&amp;lt;&amp;lt;Modeling Type(nominal);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Sep 2020 15:53:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303660#M56041</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-09-09T15:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303684#M56044</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/6736"&gt;@aliegner1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Question about the timestamps: how would I convert this to a raw time duration? I'm seeing there's the "Date Difference" formula, but it looks like it needs two columns. How do I just make this a time series starting at 0.000s --&amp;gt; max time?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before we go too much further I think we need to clarify this question here.&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;interpreted that as you wanting to get rid of the date portion of the datetime value. I don't think that's what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You've now got a column of &lt;A href="https://community.jmp.com/t5/JMPer-Cable/Using-dates-times-datetimes-and-durations-in-JMP/ba-p/68689" target="_self"&gt;datetime values&lt;/A&gt;. That column can be used as a time series, it just won't start at 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If, instead, you'd rather a column that counted the time difference between consecutive rows of the data table that's easy to do with simple subtraction and &lt;A href="https://community.jmp.com/t5/Discussions/Formulas-in-JMP/m-p/8557/highlight/true#M8551" target="_self"&gt;row subscripting&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-09-09_11-59-26.691.png" style="width: 654px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26664iDD15E973CB28C495/image-dimensions/654x440?v=v2" width="654" height="440" role="button" title="2020-09-09_11-59-26.691.png" alt="2020-09-09_11-59-26.691.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a couple of things to point out here:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;In the first row the value is set to 0.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;I don't need to use the Date Difference() function because I'm interested in the values in secs. So, simple subtraction works.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;Because of&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/Floating-point_arithmetic" target="_self"&gt;floating point arithmetic&lt;/A&gt; the difference in these values aren't precisely on the tenths of a second. I've formatted this column to display in tenths of a second, i.e. Fixed Dec with 1 decimal place.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;Finally, but perhaps more complicated is that your original question said that you had multiple wavelengths. Do you want to restart this time sequence at 0 for each wavelength? If so, that's not a problem. It will just take a couple of changes to the formula.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-09-09_12-04-31.018.png" style="width: 854px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26665i2D507E852D7F4B84/image-dimensions/854x488?v=v2" width="854" height="488" role="button" title="2020-09-09_12-04-31.018.png" alt="2020-09-09_12-04-31.018.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Now the formula checks for row 1 &lt;EM&gt;or&lt;/EM&gt; for the lamda value to be different from the previous lambda (using the &lt;A href="https://www.jmp.com/support/help/en/15.2/#page/jmp/row-functions.shtml#ww246746" target="_self"&gt;Lag() function&lt;/A&gt;) to set the sequence to 0.&lt;/LI&gt;
&lt;LI&gt;It also uses Lag() to get the value of the sequence in the previous row and adds the difference in the time values between the current and previous rows.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hope this helps clarify and provide a good direction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 16:08:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303684#M56044</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2020-09-09T16:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help doing a table transform and converting a timestamp?</title>
      <link>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303755#M56053</link>
      <description>&lt;P&gt;Thank you Jeff. Your input on that final equation is great and removes the worry about a run that crosses midnight.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 19:58:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-doing-a-table-transform-and-converting-a-timestamp/m-p/303755#M56053</guid>
      <dc:creator>aliegner1</dc:creator>
      <dc:date>2020-09-09T19:58:57Z</dc:date>
    </item>
  </channel>
</rss>

