<?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: Match data from two tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309157#M114138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the following script where you first load the tables with the values to be checked then the big table (Table1 in your example) with the values to check. The following should do. Note that the Exists() function gets two parameters, the first is the field already loaded to be checked, the second is the field from the current table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Color2&lt;/P&gt;&lt;P&gt;Green&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table3:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Color3&lt;/P&gt;&lt;P&gt;Yellow&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD *, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Exists(Color2, Color1), 'Yes', 'No') AS Exists_In_Table2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Exists(Color3, Color1), 'Yes', 'No') AS Exists_In_Table3 &lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Color1&lt;/P&gt;&lt;P&gt;Green&lt;/P&gt;&lt;P&gt;Red&lt;/P&gt;&lt;P&gt;Yellow&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2012 11:28:55 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2012-02-14T11:28:55Z</dc:date>
    <item>
      <title>Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309148#M114129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would very much appreciate help with comparing data in two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1 (data in this table is static)&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 25%; border: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Table1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Green&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Red&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Yellow&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2 (data from this table is non static)&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 25%; border: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Table2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Red&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Green&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;The result I'm looking for after comparing these tables would then look like this&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 50%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Table1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Data_check&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Green&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Red&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Yellow&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Best Regards &lt;/P&gt;&lt;P&gt;Malte&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 14:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309148#M114129</guid>
      <dc:creator />
      <dc:date>2012-01-26T14:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309149#M114130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working with the Exists() should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Table2Dynamic:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;Red&lt;/P&gt;&lt;P&gt;Green&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Exists(Field), 'Yes', 'No') AS DataCheck INLINE [&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;Green&lt;/P&gt;&lt;P&gt;Red&lt;/P&gt;&lt;P&gt;Yellow&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 15:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309149#M114130</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-01-26T15:07:54Z</dc:date>
    </item>
    <item>
      <title>Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309150#M114131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The real Table 1 lists app 2000 uniqe data items. Is it still possible to use INLINE like presented in your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I have never used INLINE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Malte&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 15:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309150#M114131</guid>
      <dc:creator />
      <dc:date>2012-01-26T15:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309151#M114132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using INLINE load just with a few values. You can use as many sources as you need in your script, a SQL SELECT from a database and an INLINE like above, if needed. In any case, you need to load first the date to be checked, and in the second case the large table that will have the conditional field depending on the values already loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what it's worth, INLINE means that the field names and values are hardcoded, but they are very useful to show how QlikView behaves with a few records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense. If don't, please elaborate or upload your script to adapt it or suggest more accurately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 15:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309151#M114132</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-01-26T15:56:49Z</dc:date>
    </item>
    <item>
      <title>Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309152#M114133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="EN" style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt;Thanks for your patience&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="EN" style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt;Miguel. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="EN" style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt;Can you help me with the syntax if I get the data from two excel tables as below?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;LOAD Tabel_1&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;BR /&gt;&lt;BR /&gt;LOAD Tabel_2&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1); &lt;/C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/Malte&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 10:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309152#M114133</guid>
      <dc:creator />
      <dc:date>2012-01-27T10:59:04Z</dc:date>
    </item>
    <item>
      <title>Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309153#M114134</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;&lt;/P&gt;&lt;P&gt;table_1:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; colour&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join (table_1)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; colour,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Exists(colour), 'Yes', 'No') as Data_check&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 11:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309153#M114134</guid>
      <dc:creator />
      <dc:date>2012-01-27T11:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309154#M114135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Malte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming the Table2 is the table that needs the conditional, the syntax would look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Tabel_2: // name of the table in QlikView&lt;/P&gt;&lt;P&gt;LOAD * // * means all fields, you can set the list or take only those that are of your interest&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tabel_1:&lt;/P&gt;&lt;P&gt;LOAD *, // all fields from the excel file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Exists(Field), 'Yes', 'No') AS DataCheck // new field added manually in the script&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Exists() line reads as "if the value of Field has been already loaded (in this case, in Tabel_1) then store the string 'Yes' into a new field called DataCheck, and otherwise, store the string 'No'"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes more sense now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 11:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309154#M114135</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-01-27T11:28:13Z</dc:date>
    </item>
    <item>
      <title>Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309155#M114136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Finally&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;now&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I got&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;it&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Have a nice&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;weekend&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and thanks&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;again&lt;/SPAN&gt;&lt;SPAN&gt;!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;/&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Malte&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 12:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309155#M114136</guid>
      <dc:creator />
      <dc:date>2012-01-27T12:05:30Z</dc:date>
    </item>
    <item>
      <title>Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309156#M114137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still struggle with my data match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to use solution above also if you want to check "if exist" in source table with multiple tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Table1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Green&lt;/P&gt;&lt;P&gt;Red &lt;/P&gt;&lt;P&gt;Yellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Table2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Green&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Table3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table3&lt;/P&gt;&lt;P&gt;Green&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Red&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&lt;/P&gt;&lt;P&gt;Yellow&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 08:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309156#M114137</guid>
      <dc:creator />
      <dc:date>2012-02-14T08:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309157#M114138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the following script where you first load the tables with the values to be checked then the big table (Table1 in your example) with the values to check. The following should do. Note that the Exists() function gets two parameters, the first is the field already loaded to be checked, the second is the field from the current table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Color2&lt;/P&gt;&lt;P&gt;Green&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table3:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Color3&lt;/P&gt;&lt;P&gt;Yellow&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD *, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Exists(Color2, Color1), 'Yes', 'No') AS Exists_In_Table2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Exists(Color3, Color1), 'Yes', 'No') AS Exists_In_Table3 &lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Color1&lt;/P&gt;&lt;P&gt;Green&lt;/P&gt;&lt;P&gt;Red&lt;/P&gt;&lt;P&gt;Yellow&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 11:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309157#M114138</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-02-14T11:28:55Z</dc:date>
    </item>
    <item>
      <title>Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309158#M114139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Sorry for late reply. It was what I was looking for. Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 07:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309158#M114139</guid>
      <dc:creator />
      <dc:date>2012-02-22T07:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309159#M114140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great response Miguel...this helped me as well &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 08:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309159#M114140</guid>
      <dc:creator />
      <dc:date>2012-04-19T08:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309160#M114141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but if are more than two fields, how execute exist function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 23:18:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309160#M114141</guid>
      <dc:creator>farolito20</dc:creator>
      <dc:date>2012-12-14T23:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Match data from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309161#M114142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having data extracted from SQL table and I am matching it with an inline table to get a field.&lt;/P&gt;&lt;P&gt;But the null data is not coming in the chart. Please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my inline table&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Start&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ADD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[_HW_Code, _SW, _SW Name, _BUSINESS, _Domain, _SW Domain Desc, _L1, _L2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;BB, RR, Services, Support, &amp;lt;NULL&amp;gt;, &amp;lt;NULL&amp;gt;, Services, Services&lt;BR /&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;NULL&amp;gt;, &amp;lt;NULL&amp;gt;, Others, Others, Others, Others, Others, Others&lt;/P&gt;&lt;P&gt;] ;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Below is my Dimension expression in sparkline chart&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;HW&lt;/SPAN&gt;=&lt;SPAN style="color: #800000;"&gt;_HW_Code&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Match&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[_L1]&lt;/SPAN&gt;,'Segment','Services','Software','Engineering','Technology','Support')&amp;gt;0,&lt;SPAN style="color: #800000;"&gt;[_L1]&lt;/SPAN&gt;,'Others')&lt;BR /&gt;,&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;IsNull&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;_HW_Code&lt;/SPAN&gt;),'Others')) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;'Supress when value is null' is NOT ticked, nor is 'Supress zero-values' or 'Supress Missing'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 08:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-data-from-two-tables/m-p/309161#M114142</guid>
      <dc:creator />
      <dc:date>2014-03-28T08:09:27Z</dc:date>
    </item>
  </channel>
</rss>

