<?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: Field not found in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Field-not-found/m-p/2470913#M13918</link>
    <description>&lt;P&gt;Hi Anat,&lt;/P&gt;
&lt;P&gt;thank you for the reply. I tried to adjust my script accordingly - I had to add alias also to the Load part, but for now it works correctly. We have more issues like this, I will chcek whether this solution will help in general and let you know.&lt;/P&gt;
&lt;P&gt;Thank you one again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2024 09:36:24 GMT</pubDate>
    <dc:creator>Vondox</dc:creator>
    <dc:date>2024-07-16T09:36:24Z</dc:date>
    <item>
      <title>Field not found</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Field-not-found/m-p/2469645#M13908</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hi,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I want to ask for an advice. I have a QlikSense app to be reloaded automatically. For this purpose I have created two tasks in the QMC:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;1. task set to the specific day and time - this works correctly, data is reloaded&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;2. task triggered by successful finish of reload of another task - this one&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;fails with the error message 'Field not found'. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;First of all, I am not sure it should mean that the field is not found in the table at all (but in fact the field is there) OR the field is found,&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;but there is some null value which causes the problem.&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;Maybe there is some another problem with my script (below).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Does anyone have any idea what could be the reason for the error message 'Error: Field 'field_id' not found'?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Facts: &lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;the field &lt;U&gt;is&lt;/U&gt; in the source table&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;the query timeout for the connection is set to maximum&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Teradata connection is used&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;manual reload run from QMC works correctly&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;My script in the Load script:&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Fields]:
load
field_id
, field_l0_nm as Field
, field_l1_nm as Field_group
, field_l2_nm as Field_type
;

SQL

SELECT base.field_id
, hier.field_l0_nm
, hier.field_l1_nm
, hier.field_l2_nm
FROM DTB_NAME.LIST_OF_FIELDS AS base
INNER JOIN DTB_NAME.FIELDS_HIERARCHY AS hier
ON base.field_id = hier.field_id
WHERE base.field_id IN (
SELECT field_id
FROM DTB_NAME.REPORT
WHERE field_id IS NOT NULL
AND business_dt &amp;gt;='2024-01-01')
;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 15:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Field-not-found/m-p/2469645#M13908</guid>
      <dc:creator>Vondox</dc:creator>
      <dc:date>2024-07-10T15:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Field-not-found/m-p/2469648#M13909</link>
      <description>&lt;P&gt;try with below code:&lt;/P&gt;
&lt;P&gt;[Fields]:&lt;BR /&gt;load&lt;BR /&gt;field_id&lt;BR /&gt;, field_l0_nm as Field&lt;BR /&gt;, field_l1_nm as Field_group&lt;BR /&gt;, field_l2_nm as Field_type&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;SQL&lt;/P&gt;
&lt;P&gt;SELECT base.field_id as field_id&lt;BR /&gt;, hier.field_l0_nm as field_l0_nm&lt;BR /&gt;, hier.field_l1_nm as field_l1_nm&lt;BR /&gt;, hier.field_l2_nm as field_l2_nm&lt;BR /&gt;FROM DTB_NAME.LIST_OF_FIELDS AS base&lt;BR /&gt;INNER JOIN DTB_NAME.FIELDS_HIERARCHY AS hier&lt;BR /&gt;ON base.field_id = hier.field_id&lt;BR /&gt;WHERE base.field_id IN (&lt;BR /&gt;SELECT field_id&lt;BR /&gt;FROM DTB_NAME.REPORT&lt;BR /&gt;WHERE field_id IS NOT NULL&lt;BR /&gt;AND business_dt &amp;gt;='2024-01-01');&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 15:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Field-not-found/m-p/2469648#M13909</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2024-07-10T15:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Field-not-found/m-p/2470913#M13918</link>
      <description>&lt;P&gt;Hi Anat,&lt;/P&gt;
&lt;P&gt;thank you for the reply. I tried to adjust my script accordingly - I had to add alias also to the Load part, but for now it works correctly. We have more issues like this, I will chcek whether this solution will help in general and let you know.&lt;/P&gt;
&lt;P&gt;Thank you one again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 09:36:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Field-not-found/m-p/2470913#M13918</guid>
      <dc:creator>Vondox</dc:creator>
      <dc:date>2024-07-16T09:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Field-not-found/m-p/2472375#M13941</link>
      <description>&lt;P&gt;Hi Anat,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used the solutions for another skript as well but here it does not work. I adjusted it as following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Fields]:
Load
field_id as field_id
  , field_l0_nm as Field
  , field_l1_nm as Field_group
  , field_l2_nm as Field_type
;

SQL

SELECT base.field_id as field_id
  , hier.field_l0_nm as field_l0_nm
  , hier.field_l1_nm as field_l1_nm
  , hier.field_l2_nm as field_l2_nm
FROM DTB_NAME.LIST_OF_FIELDS AS base
INNER JOIN DTB_NAME.FIELDS_HIERARCHY AS hier
ON base.field_id = hier.field_id
WHERE base.field_id IN (
SELECT field_id
FROM DTB_NAME.REPORT
WHERE field_id IS NOT NULL
  AND business_dt &amp;gt;='2024-01-01')
;&lt;/LI-CODE&gt;
&lt;P&gt;The reload failed, the log says:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; Error: Field 'field_id' not found&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; Execution Failed&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp; Execution finished.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Would you have any other idea how to proceed? Thank you very much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 12:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Field-not-found/m-p/2472375#M13941</guid>
      <dc:creator>Vondox</dc:creator>
      <dc:date>2024-07-23T12:18:29Z</dc:date>
    </item>
  </channel>
</rss>

