<?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: variable not reading getting error in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2045271#M1436</link>
    <description>&lt;P&gt;yes i have tried both set and let, and single quote also. variable not recognizing.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nvijay5757_0-1677900047577.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/101967i717ED65E8F839B78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nvijay5757_0-1677900047577.png" alt="nvijay5757_0-1677900047577.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 04 Mar 2023 03:20:54 GMT</pubDate>
    <dc:creator>nvijay5757</dc:creator>
    <dc:date>2023-03-04T03:20:54Z</dc:date>
    <item>
      <title>variable not reading getting error</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2044963#M1426</link>
      <description>&lt;P&gt;Hi i am getting error in this code. i.e RCM_Accel not found&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;$(new_col) AS [$(new_col)],&amp;nbsp; &amp;nbsp;in this i am getting error. help me.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;// Set the path to the directory containing input Excel files&lt;BR /&gt;LET path = '\\dc18201bcf1.hosts.cloud.ford.com\q00000\Enterprise_Analytics\Projects\WIP\Sensor_Calibration\Input_files\Classification\P702\test\';&lt;/P&gt;
&lt;P&gt;// Find all Excel files in the directory&lt;BR /&gt;FOR EACH FileExtension IN 'xlsx'&lt;BR /&gt;FOR EACH File IN FileList('$(path)*.' &amp;amp; FileExtension)&lt;BR /&gt;&lt;BR /&gt;// Load the data from the current file&lt;BR /&gt;data:&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM [$(File)]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;// Set the threshold value&lt;BR /&gt;LET threshold = 3;&lt;/P&gt;
&lt;P&gt;// Set the name of the column to transform&lt;BR /&gt;LET column = 'T RCM C1 HX REF 032 BTWN SEATS RCM FRONT X SM LONG WIDEBAND';&lt;/P&gt;
&lt;P&gt;// Create new column names&lt;BR /&gt;LET new_col = 'RCM_Accel';&lt;BR /&gt;LET new_time_col = 'Wakeup_time';&lt;/P&gt;
&lt;P&gt;// Transform the data&lt;BR /&gt;data:&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;&lt;STRONG&gt;$(new_col) AS [$(new_col)],&lt;/STRONG&gt;&lt;BR /&gt;'Time' - FirstSortedValue('Time', If([$(new_col)] &amp;lt; 0, 1, 0)) AS [$(new_time_col)]&lt;BR /&gt;RESIDENT data&lt;BR /&gt;WHERE NOT IsNull([$(column)])&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;// Add the threshold to the RCM_Accel column&lt;BR /&gt;data:&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;[$(column)] + $(threshold) AS [$(new_col)]&lt;BR /&gt;RESIDENT data&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;// Save the modified data to an output Excel file&lt;BR /&gt;LET output_path = Replace('$(File)', '$(path)', '\\dc18201bcf1.hosts.cloud.ford.com\q00000\Enterprise_Analytics\Projects\WIP\Sensor_Calibration\Input_files\Classification\P702\output');&lt;BR /&gt;Store data INTO [$(output_path)]&lt;/P&gt;
&lt;P&gt;DROP TABLE data;&lt;BR /&gt;&lt;BR /&gt;NEXT File&lt;BR /&gt;NEXT FileExtension&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="nvijay5757_0-1677840920509.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/101893i12A12338648D7A31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nvijay5757_0-1677840920509.png" alt="nvijay5757_0-1677840920509.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 10:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2044963#M1426</guid>
      <dc:creator>nvijay5757</dc:creator>
      <dc:date>2023-03-03T10:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: variable not reading getting error</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2044971#M1427</link>
      <description>&lt;P&gt;What is the error message you are getting?&lt;/P&gt;
&lt;P&gt;You could possibly try SET instead of LET when declaring the variable.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 11:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2044971#M1427</guid>
      <dc:creator>henrikalmen</dc:creator>
      <dc:date>2023-03-03T11:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: variable not reading getting error</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2045059#M1430</link>
      <description>&lt;P&gt;&lt;EM&gt;can you try by placing single quotes ,like below:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;'$(new_col)' AS [$(new_col)]&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 14:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2045059#M1430</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2023-03-03T14:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: variable not reading getting error</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2045100#M1433</link>
      <description>&lt;P&gt;I should have seen that as well. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 15:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2045100#M1433</guid>
      <dc:creator>henrikalmen</dc:creator>
      <dc:date>2023-03-03T15:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: variable not reading getting error</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2045269#M1435</link>
      <description>&lt;P&gt;i am getting error message. variable not recognizing. any other possible ways&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nvijay5757_0-1677899886855.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/101966iECD7B42715D2A86F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nvijay5757_0-1677899886855.png" alt="nvijay5757_0-1677899886855.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2023 03:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2045269#M1435</guid>
      <dc:creator>nvijay5757</dc:creator>
      <dc:date>2023-03-04T03:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: variable not reading getting error</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2045271#M1436</link>
      <description>&lt;P&gt;yes i have tried both set and let, and single quote also. variable not recognizing.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nvijay5757_0-1677900047577.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/101967i717ED65E8F839B78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nvijay5757_0-1677900047577.png" alt="nvijay5757_0-1677900047577.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2023 03:20:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2045271#M1436</guid>
      <dc:creator>nvijay5757</dc:creator>
      <dc:date>2023-03-04T03:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: variable not reading getting error</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2045317#M1438</link>
      <description>&lt;P&gt;The variable is doing what it is instructed to do. &lt;/P&gt;
&lt;P&gt;The error message is telling you that there is no field named RCM_Accel in the table “data”. The script is trying to load data from that field and store it into the fieldname RCM_Accel_tmp - but since RCM_Accel doesn’t exist you get the error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2023 09:22:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/variable-not-reading-getting-error/m-p/2045317#M1438</guid>
      <dc:creator>henrikalmen</dc:creator>
      <dc:date>2023-03-04T09:22:50Z</dc:date>
    </item>
  </channel>
</rss>

