<?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: &amp;quot;Specified Column not found in data table&amp;quot; in Fit Model using JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78710#M36525</link>
    <description>&lt;P&gt;Its a &lt;SPAN&gt;column. It is ok like this?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Oct 2018 13:59:58 GMT</pubDate>
    <dc:creator>tomerFire</dc:creator>
    <dc:date>2018-10-11T13:59:58Z</dc:date>
    <item>
      <title>"Specified Column not found in data table" in Fit Model using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78701#M36516</link>
      <description>&lt;P&gt;I have a script that makes a Fit Model from a table I import.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that I get this error when accessing the data.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"Specified Column not found in data table.{4759} in access or evaluation of 'List' , {/*###*/data:T_VALUE}"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to access the column through "Show" I get good results:&lt;BR /&gt;&lt;BR /&gt;"data:T_VALUE = 1;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;data = Open( "C:/Users/taviad/Desktop/Sheet1.jmp" );


					Show(data:T_VALUE);
					
					model = data &amp;lt;&amp;lt; Fit Model(
					Y( data:T_VALUE ),
					Effects(
						data:x,
						data:y,
						data:z,
						data:c
					),
					Personality( "Standard Least Squares" ),
					Emphasis( "Minimal Report" ),
					Run(),
					Where( data:b == "param1" &amp;amp; data:n == "param2" ),
					
				);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 12:51:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78701#M36516</guid>
      <dc:creator>tomerFire</dc:creator>
      <dc:date>2018-10-11T12:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: "Specified Column not found in data table" in Fit Model using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78702#M36517</link>
      <description>&lt;P&gt;It is possible that JMP has not finished opening your data table, when it is going ahead and running the Fit Model.&amp;nbsp; If that is the case, by adding in a Run Formulas request will force JMP to complete the Open() function, and should fix the issue.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;data = Open( "C:/Users/taviad/Desktop/Sheet1.jmp" );
data &amp;lt;&amp;lt; run formulas;
					
model = data &amp;lt;&amp;lt; Fit Model(
	Y( data:T_VALUE ),
	Effects( data:x, data:y, data:z, data:c ),
	Personality( "Standard Least Squares" ),
	Emphasis( "Minimal Report" ),
	Run(),
	Where( data:b == "param1" &amp;amp; data:n == "param2" ), 
					
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 13:00:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78702#M36517</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-10-11T13:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: "Specified Column not found in data table" in Fit Model using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78704#M36519</link>
      <description>&lt;P&gt;Hi, thanks for the answer.&lt;BR /&gt;I tried it and I got the same error:&lt;BR /&gt;&lt;BR /&gt;data:T_VALUE = 1;&lt;BR /&gt;&lt;BR /&gt;Specified Column not found in data table.{4759} in access or evaluation of 'List' , {/*###*/data:T_VALUE}&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 13:05:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78704#M36519</guid>
      <dc:creator>tomerFire</dc:creator>
      <dc:date>2018-10-11T13:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: "Specified Column not found in data table" in Fit Model using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78707#M36522</link>
      <description>&lt;P&gt;Is T_VALUE a data column or a table variable? Fit Least Squares requires a data column in the Y role.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 13:36:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78707#M36522</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-10-11T13:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: "Specified Column not found in data table" in Fit Model using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78710#M36525</link>
      <description>&lt;P&gt;Its a &lt;SPAN&gt;column. It is ok like this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 13:59:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78710#M36525</guid>
      <dc:creator>tomerFire</dc:creator>
      <dc:date>2018-10-11T13:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: "Specified Column not found in data table" in Fit Model using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78724#M36530</link>
      <description>&lt;P&gt;I just don't undestand the error: "T_VALUE = 1". That makes it look like a scalar value, not a column.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 14:59:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78724#M36530</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-10-11T14:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: "Specified Column not found in data table" in Fit Model using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78725#M36531</link>
      <description>&lt;P&gt;The log messages you reported look strange.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;"Specified Column not found in data table.{4759} in access or evaluation of 'List' , {/*###*/data:T_VALUE}"&amp;nbsp;&lt;/STRONG&gt;this is not the error message I get if I specify a column that does not exist. This looks like an error message when you have a list specified for Y&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;When I try to access the column through "Show" I get good results:&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;"data:T_VALUE = 1;"&lt;/STRONG&gt; This will occur when T_VALUE is a table variable and no column with that name exists&lt;/LI&gt;&lt;LI&gt;This is the results of a Show when data has a column with that name&amp;nbsp; is&amp;nbsp;&lt;STRONG&gt;"data:T_VALUE = .;"&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Just in case your column name is read in with a CR or tab you might want to try the script below, it removes leading and trailing spaces and tabs and line feeds and carriage returns(new line)&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;for(i=1, i&amp;lt;=ncol(data), i++,
	column(data,i) &amp;lt;&amp;lt; set name( Trim( column(data,i) &amp;lt;&amp;lt; get name) );
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 15:00:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78725#M36531</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-10-11T15:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: "Specified Column not found in data table" in Fit Model using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78730#M36534</link>
      <description>I managed to solve it be resaving the data on a new file. I dont know what was the problem but the original file was not good.</description>
      <pubDate>Thu, 11 Oct 2018 16:10:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-Specified-Column-not-found-in-data-table-quot-in-Fit-Model/m-p/78730#M36534</guid>
      <dc:creator>tomerFire</dc:creator>
      <dc:date>2018-10-11T16:10:05Z</dc:date>
    </item>
  </channel>
</rss>

