<?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: Where Exists() - Field not found in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98813#M6573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Officer Table:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Officer_cd as "Officer Code",&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other Data&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM qvdA&amp;nbsp; &lt;/P&gt;&lt;P&gt;Where Exists("Officer Code", &lt;STRONG&gt;Officer_cd&lt;/STRONG&gt;);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Drop Table tempOffList;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Aug 2018 16:26:03 GMT</pubDate>
    <dc:creator>BalaBhaskar_Qlik</dc:creator>
    <dc:date>2018-08-18T16:26:03Z</dc:date>
    <item>
      <title>Where Exists() - Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98809#M6569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having some trouble using a Where Exists when trying to load some data from a dimension table. Files A - C are used prior to this section to load data from extracts, and each have the Officer Code (or Primary Officer Number as shown) fields shown for the temp table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a similar method in a QlikView application and it is working, so I am not sure what I am doing wrong. Any tips?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15345281224349732" jivemacro_uid="_15345281224349732" modifiedtitle="true"&gt;
&lt;P&gt;tempOffList:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;"Officer Code"&lt;/P&gt;
&lt;P&gt;FROM &lt;STRONG&gt;fileA&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;WHERE Today() - "Expire Date" &amp;gt; -30;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Concatenate(tempOffList)&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;"Officer Code"&lt;/P&gt;
&lt;P&gt;FROM &lt;STRONG&gt;fileB&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;WHERE Today() - "Expire Date" &amp;gt; -30;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Concatenate(tempOffList)&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;"Primary Officer Number" as "Officer Code"&lt;/P&gt;
&lt;P&gt;FROM &lt;STRONG&gt;fileC&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;WHERE Today() - "DOCUMENT EXPIRATION DATE" &amp;gt; -30;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Concatenate(tempOffList)&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;"Officer Code"&lt;/P&gt;
&lt;P&gt;FROM &lt;STRONG&gt;fileD&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;WHERE Today() - "Covenant Expiration Date" &amp;gt; -30;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Officer Table:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Officer_cd as "Officer Code",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other Data&lt;/P&gt;
&lt;P&gt;FROM qvdA&lt;/P&gt;
&lt;P&gt;Where Exists("Officer Code");&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Drop Table tempOffList;&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 17:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98809#M6569</guid>
      <dc:creator>ttollin11</dc:creator>
      <dc:date>2018-08-17T17:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Where Exists() - Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98810#M6570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;Office_Table:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Officer_cd as "Officer Code",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other Data&lt;/P&gt;&lt;P&gt;From qvdA&lt;/P&gt;&lt;P&gt;Where Exists (&lt;SPAN style="font-size: 13.3333px;"&gt;"Officer Code", Office_cd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 18:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98810#M6570</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2018-08-17T18:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Where Exists() - Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98811#M6571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exists() Function can take two parameters when the column names are not same or when you want to use an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/InterRecordFunctions/Exists.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/InterRecordFunctions/Exists.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/InterRecordFunctions/Exists.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, on the same note do not use exists when you are concatenating the 2nd table with the first one. (Not applicable to this situation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlikcentral.com/2016/01/21/the-problem-with-where-not-exists/" style="font-size: 10pt;" title="https://qlikcentral.com/2016/01/21/the-problem-with-where-not-exists/"&gt;https://qlikcentral.com/2016/01/21/the-problem-with-where-not-exists/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 18:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98811#M6571</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2018-08-17T18:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Where Exists() - Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98812#M6572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;You can also try this to keep the optimized load for your qvd load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tempOffList:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load &lt;/STRONG&gt;&lt;STRONG&gt;"Officer Code" as &lt;STRONG style="color: #ff0000;"&gt;Officer_cd&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM fileA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE Today() - "Expire Date" &amp;gt; -30;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate(tempOffList)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load &lt;/STRONG&gt;&lt;STRONG&gt;"Officer Code" as &lt;STRONG&gt;&lt;STRONG style="color: #ff0000;"&gt;Officer_cd&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM fileB&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE Today() - "Expire Date" &amp;gt; -30;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate(tempOffList)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load &lt;/STRONG&gt;&lt;STRONG&gt;"Primary Officer Number" as &lt;STRONG&gt;&lt;STRONG style="color: #ff0000;"&gt;Officer_cd&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM fileC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE Today() - "DOCUMENT EXPIRATION DATE" &amp;gt; -30;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate(tempOffList)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load &lt;/STRONG&gt;&lt;STRONG&gt;"Officer Code" as &lt;STRONG&gt;&lt;STRONG style="color: #ff0000;"&gt;Officer_cd&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM fileD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE Today() - "Covenant Expiration Date" &amp;gt; -30;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Officer Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Officer_cd as "Officer Code",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM qvdA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Exists(&lt;STRONG&gt;&lt;STRONG style="color: #ff0000;"&gt;Officer_cd&lt;/STRONG&gt;&lt;/STRONG&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drop Table tempOffList;&lt;/STRONG&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 18:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98812#M6572</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-17T18:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where Exists() - Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98813#M6573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Officer Table:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Officer_cd as "Officer Code",&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other Data&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM qvdA&amp;nbsp; &lt;/P&gt;&lt;P&gt;Where Exists("Officer Code", &lt;STRONG&gt;Officer_cd&lt;/STRONG&gt;);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Drop Table tempOffList;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2018 16:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98813#M6573</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-18T16:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Where Exists() - Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98814#M6574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Went with this option. Thanks as always, Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 19:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Where-Exists-Field-not-found/m-p/98814#M6574</guid>
      <dc:creator>ttollin11</dc:creator>
      <dc:date>2018-08-24T19:30:11Z</dc:date>
    </item>
  </channel>
</rss>

