<?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: Linking Tables with a Condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linking-Tables-with-a-Condition/m-p/738510#M669754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2014 12:17:26 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-10-16T12:17:26Z</dc:date>
    <item>
      <title>Linking Tables with a Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Tables-with-a-Condition/m-p/738509#M669753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 excel tables.&amp;nbsp; The one table is a "Customers Table" and the other is a "Sales Table"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The customer table is as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 450px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl91" height="20" width="117"&gt;Customer Code&lt;/TD&gt;&lt;TD class="xl91" style="border-left: medium none;" width="193"&gt;Customer&lt;/TD&gt;&lt;TD class="xl92" style="border-left: medium none;" width="140"&gt;Customer Group&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl93" height="20" style="border-top: medium none;"&gt;ELS001&lt;/TD&gt;&lt;TD class="xl93" style="border-left: medium none; border-top: medium none;"&gt;ElSat - JOHANNESBURG&lt;/TD&gt;&lt;TD class="xl94" style="border-left: medium none; border-top: medium none;"&gt;Branch&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Sales table is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 442px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl94" height="20" width="117"&gt;Customer Code&lt;/TD&gt;&lt;TD class="xl94" style="border-left: medium none;" width="89"&gt;Item Code&lt;/TD&gt;&lt;TD class="xl94" style="border-left: medium none;" width="81"&gt;Qty&lt;/TD&gt;&lt;TD class="xl95" style="border-left: medium none;" width="155"&gt;Sales Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl96" height="20" style="border-top: medium none;"&gt;ELS001&lt;/TD&gt;&lt;TD class="xl96" style="border-left: medium none; border-top: medium none;"&gt;INSL&lt;/TD&gt;&lt;TD class="xl97" style="border-left: medium none; border-top: medium none;"&gt;100&lt;/TD&gt;&lt;TD class="xl98" style="border-left: medium none; border-top: medium none;"&gt;100,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl96" height="20" style="border-top: medium none;"&gt;ELS001&lt;/TD&gt;&lt;TD class="xl96" style="border-left: medium none; border-top: medium none;"&gt;ABC&lt;/TD&gt;&lt;TD class="xl97" style="border-left: medium none; border-top: medium none;"&gt;50&lt;/TD&gt;&lt;TD class="xl98" style="border-left: medium none; border-top: medium none;"&gt;25,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl96" height="20" style="border-top: medium none;"&gt;ELS001&lt;/TD&gt;&lt;TD class="xl96" style="border-left: medium none; border-top: medium none;"&gt;FEPT&lt;/TD&gt;&lt;TD class="xl97" style="border-left: medium none; border-top: medium none;"&gt;60&lt;/TD&gt;&lt;TD class="xl98" style="border-left: medium none; border-top: medium none;"&gt;17,000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If we sell Item Code " INSL" to Customer ELS001 , I want the Customer Group to change to , say , "Multichoice" , otherwise the Customer Group must stay as "Branch"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I create the scripting for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 12:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Tables-with-a-Condition/m-p/738509#M669753</guid>
      <dc:creator />
      <dc:date>2014-10-16T12:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Tables with a Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Tables-with-a-Condition/m-p/738510#M669754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 12:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Tables-with-a-Condition/m-p/738510#M669754</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-10-16T12:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Tables with a Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-Tables-with-a-Condition/m-p/738511#M669755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank oyu for your prompt response.&amp;nbsp; I will try it out and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 12:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-Tables-with-a-Condition/m-p/738511#M669755</guid>
      <dc:creator />
      <dc:date>2014-10-16T12:23:48Z</dc:date>
    </item>
  </channel>
</rss>

