<?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: Multiple Field Exist (Cheking if values exist in different fields at the same row) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1520372#M624025</link>
    <description>&lt;P&gt;thanks a lot&lt;/P&gt;</description>
    <pubDate>Thu, 13 Dec 2018 11:53:11 GMT</pubDate>
    <dc:creator>abdul_mo</dc:creator>
    <dc:date>2018-12-13T11:53:11Z</dc:date>
    <item>
      <title>Multiple Field Exist (Cheking if values exist in different fields at the same row)</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272841#M624017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i have some issue&amp;nbsp; trying to simplifying my code with the function Exists(). Let me first explain where my data come from with an example. I have to data excel sources. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the first one there are the fields &lt;STRONG&gt;Date , ProductNo, ProductPrice &lt;/STRONG&gt;like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;Date, ProductNo, ProductPrice&lt;/P&gt;&lt;P&gt;201401, A1, 100&lt;/P&gt;&lt;P&gt;201401, A2, 120&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;201402, A2, 121&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;201403, A1, 110&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;201403, A2, 121&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The second contains &lt;STRONG&gt;Date, ProductNo, NSoldProd&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date, ProductNo, NSoldProd&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;201401, A1, 10&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;201401, A2, 15&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;201402, A1, 8&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;201402, A2, 13&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;201403, A1, 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;201403, A2, 18&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In order to concatenate it properly and do not have a $Syn Table (because, as far as I know, the Synthetic tables usually gives problems),&amp;nbsp; I create &lt;STRONG&gt;my Own PrimaryKey&lt;/STRONG&gt; using the fields that share both data bases (&lt;STRONG&gt;Date, ProdNo&lt;/STRONG&gt;)&lt;STRONG&gt;.&amp;nbsp; &lt;/STRONG&gt;Then, I load it like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Price:&lt;/P&gt;
&lt;P&gt;LOAD Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductNo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date &amp;amp; ProductNo as PrimKey,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductPrice&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;[DB-Price.xlsx]&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Sales:&lt;/P&gt;
&lt;P&gt;LOAD Date &amp;amp; ProductNo as PrimKey,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSoldProd&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;[DB-Sales.xlsx]&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;



































&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The way the data apears in QlikView is like this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 306px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="18" width="102"&gt;Date&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="102"&gt;ProductNo&lt;/TD&gt;&lt;TD class="xl65" width="102"&gt;=Sum(NSoldProd)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="18" style="border-top: none;"&gt;201401&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="18" style="border-top: none;"&gt;201401&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A2&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="18" style="border-top: none;"&gt;201402&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A2&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="18" style="border-top: none;"&gt;201403&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="18" style="border-top: none;"&gt;201403&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A2&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="18" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The explanation of this is peaty easy if you know that QlikView search for&lt;STRONG&gt; matches with the PrimaryKey&lt;/STRONG&gt; (on both tables. The point is that the bold field of the second table contains the field &lt;EM&gt;201402&lt;STRONG&gt;A1&lt;/STRONG&gt;&lt;/EM&gt; which does not exist on the firs table where only exists the &lt;EM&gt;201402&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;A2&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;.&lt;/EM&gt; I want to filter the data and take only the fields that exist in both fields. The function that is supposed to do this work is &lt;EM&gt;exists()&lt;/EM&gt;. The problem is that when I use &lt;STRONG&gt;exists(&lt;/STRONG&gt;&lt;EM&gt;Date&lt;/EM&gt;&lt;STRONG&gt;) &lt;/STRONG&gt;(or when I use &lt;STRONG&gt;exists(&lt;/STRONG&gt;&lt;EM&gt;ProductNo&lt;/EM&gt;&lt;STRONG&gt;)&lt;/STRONG&gt; ), &lt;SPAN style="font-size: 13.3333px;"&gt;QlikView only check if this &lt;EM&gt;Date ( &lt;/EM&gt;or &lt;EM&gt;ProductNo&lt;/EM&gt; ) exists in both tables, but they actually exists on both and then QlikView returns the same as if nothing has been done. What I need is something that checks if &lt;STRONG&gt;both&lt;/STRONG&gt; tesults (2014 and A1) exists in their fields &lt;STRONG&gt;at the same row&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have tied the following ways without result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1- Use &lt;STRONG style="font-size: 13.3333px;"&gt;exists(&lt;/STRONG&gt;&lt;EM style="font-size: 13.3333px;"&gt;Date&lt;/EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;) &lt;/STRONG&gt;&lt;STRONG&gt;and &lt;STRONG style="font-size: 13.3333px;"&gt;exists(&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;ProductNo&lt;/EM&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;) &lt;/STRONG&gt;&lt;/STRONG&gt;:&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; &lt;/STRONG&gt; &lt;/STRONG&gt;QlikView also check &lt;STRONG&gt;separately&lt;/STRONG&gt; the fields for the existence of a match.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2- Use &lt;STRONG&gt;exists(&lt;/STRONG&gt; PrimaryKey&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;) &lt;/STRONG&gt;: QlikView checs for the &lt;STRONG&gt;existence&lt;/STRONG&gt; of a field named PrimaryKey&lt;SPAN style="font-size: 13.3333px;"&gt; on the &lt;STRONG&gt;database&lt;/STRONG&gt;, but it is concatenation of fields and does not exists as a separate field on it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3- &lt;SPAN style="font-size: 13.3333px;"&gt;Use &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;exists(&lt;/STRONG&gt;&lt;EM style="font-size: 13.3333px;"&gt;Date&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt; &amp;amp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;ProductNo&lt;/EM&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;)&lt;/STRONG&gt; : same reason as 2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;4- Use &lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;exists(&lt;/STRONG&gt;&lt;EM style="font-size: 13.3333px;"&gt;Date&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt; and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;ProductNo&lt;/EM&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;) &lt;/STRONG&gt;: QlikView just crash and ask you to return tot he previous load data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;5- Use &lt;STRONG style="font-size: 13.3333px;"&gt;exists(&lt;/STRONG&gt;&lt;EM style="font-size: 13.3333px;"&gt;Date&lt;/EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;) &lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;amp; &lt;STRONG style="font-size: 13.3333px;"&gt;exists(&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;ProductNo&lt;/EM&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;)&lt;/STRONG&gt; : desperate measure. This do not load the data properly and the field&lt;EM&gt; &lt;/EM&gt;&lt;EM&gt;NSoldProd&lt;/EM&gt; does not even appear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am aware that I can load the data with the PrimaryKey on a QVD and then reload and drop the previous table the new field using the option 2 (and that is what I have by the moment).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; text-decoration: underline;"&gt;My questions are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;1- Is there a better way to do it without saving the data on a QVD ?&amp;nbsp; May this way&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;2- Can the funcion &lt;STRONG&gt;exists()&lt;/STRONG&gt; look if the values of two (or more) fields exist at the same row?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Thank You in advance i attach a QlikView document with the example used above for anyone who want to check it&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 09:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272841#M624017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-18T09:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Field Exist (Cheking if values exist in different fields at the same row)</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272842#M624018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Price:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductNo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date &amp;amp; ProductNo as PrimKey,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductPrice&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;[DB-Price.xlsx]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt; &lt;SPAN style="color: #ff0000;"&gt;Inner Keep&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sales:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD Date &amp;amp; ProductNo as PrimKey,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSoldProd&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;[DB-Sales.xlsx]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 09:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272842#M624018</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-11-18T09:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Field Exist (Cheking if values exist in different fields at the same row)</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272843#M624019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition, you may want to look into the &lt;EM&gt;two argument version&lt;/EM&gt; of Exists()&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/InterRecordFunctions/Exists.htm" title="https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/InterRecordFunctions/Exists.htm"&gt;https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/InterRecordFunctions/Exists.htm&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Price:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Date,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductNo,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date &amp;amp; ProductNo as PrimKey,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductPrice&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[DB-Price.xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sales:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Date &amp;amp; ProductNo as PrimKey,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSoldProd&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[DB-Sales.xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;WHERE EXISTS(PrimKey,&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Date &amp;amp; ProductNo)&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Test which approach performs better with your data and in your environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 09:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272843#M624019</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-11-18T09:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Field Exist (Cheking if values exist in different fields at the same row)</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272844#M624020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer, it worked so well &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; but I am no sure about what is actually doing QlikView whe you use&amp;nbsp; &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE EXISTS(PrimKey,&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Date &amp;amp; ProductNo).&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I guess that QlikView is searching for the fields &lt;EM&gt;Date&lt;/EM&gt;&lt;EM&gt; &lt;/EM&gt; and&amp;nbsp; &lt;EM&gt;ProductNo&lt;/EM&gt;, then join the fields via &lt;EM&gt;&amp;amp; &lt;/EM&gt; and checks for the existence &lt;STRONG&gt;in memory&lt;/STRONG&gt; for a field with the name &lt;EM&gt;PrimaryKey&lt;/EM&gt; to mach this union. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Is it correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 11:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272844#M624020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-18T11:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Field Exist (Cheking if values exist in different fields at the same row)</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272845#M624021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the reply, I think that you found the cleaner way to do it&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; (I'll do it that way)&amp;nbsp; but i have to mark the other answer with "Correct" because it deeps more in the understanding of the function exists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 11:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272845#M624021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-18T11:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Field Exist (Cheking if values exist in different fields at the same row)</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272846#M624022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For each record of your input table DB-Sales, QV will evaluate the expression &lt;/P&gt;&lt;P&gt;=Date &amp;amp; ProductNo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which will concatenate the two field values into a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then this value will be looked up in the symbol table (distinct field values) of field PrimKey and checked if there is a match. Note that this symbol table updates with each new field value loaded in, so it's taking also the current LOAD and all previous LOADs into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using the one argument version of Exists(), the working principle is the same, except that just the input field value is compared the field values loaded so far, no additional expression evaluation involved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 11:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272846#M624022</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-11-18T11:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Field Exist (Cheking if values exist in different fields at the same row)</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272847#M624023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You very much for your answer, it was very usefull &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 09:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272847#M624023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-24T09:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Field Exist (Cheking if values exist in different fields at the same row)</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272848#M624024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, guys! This helped me a lot today.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 14:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1272848#M624024</guid>
      <dc:creator>Marcos_Ferreira_dos_Santos</dc:creator>
      <dc:date>2018-04-04T14:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Field Exist (Cheking if values exist in different fields at the same row)</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1520372#M624025</link>
      <description>&lt;P&gt;thanks a lot&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 11:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Field-Exist-Cheking-if-values-exist-in-different-fields/m-p/1520372#M624025</guid>
      <dc:creator>abdul_mo</dc:creator>
      <dc:date>2018-12-13T11:53:11Z</dc:date>
    </item>
  </channel>
</rss>

