<?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: Join Issue - Tables coming from different sources in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-Issue-Tables-coming-from-different-sources/m-p/1249462#M867925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2016 13:50:55 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2016-12-13T13:50:55Z</dc:date>
    <item>
      <title>Join Issue - Tables coming from different sources</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Issue-Tables-coming-from-different-sources/m-p/1249459#M867922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having some trouble by joining infos from diferent sources.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 different sources:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first one comes from the data base and has 5 fields, which are:&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;Supplier,&lt;/P&gt;&lt;P&gt;Line,&lt;/P&gt;&lt;P&gt;Alocated,&lt;/P&gt;&lt;P&gt;Brand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second one comes from a excel spreadsheet and it has 2 fields:&lt;/P&gt;&lt;P&gt;Supplier,&lt;/P&gt;&lt;P&gt;Cluster_Supplier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The third one comes from a excel spreadsheet as well and it has 2 fields:&lt;/P&gt;&lt;P&gt;Line,&lt;/P&gt;&lt;P&gt;Cluster_Line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is adding the field "Cluster" in the first table, by the rule:&lt;/P&gt;&lt;P&gt;if the value in the field "Alocated" (first table) equals to "not", then I look at the Brand (first table). if its value is "4", then the value must be 4. If its not 4, I get the value from the field "Cluster_Line".&lt;/P&gt;&lt;P&gt;If the value in the field Alocated is different of "not", then i get the value in the field "Cluster_Supplier".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone get me a script structure of how doing it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: not all the possible existing values of "Line" are registeres in the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file I have is attached. I believe this join is the issue why I am having trouble in calculating the number of backlog activities.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Issue-Tables-coming-from-different-sources/m-p/1249459#M867922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Join Issue - Tables coming from different sources</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Issue-Tables-coming-from-different-sources/m-p/1249460#M867923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create 2 maps&lt;/P&gt;&lt;P&gt;a) Map1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Supplier,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Cluster_Supplier&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;b) Map2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Line,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Cluster_Line&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;And then when you´re loading your table&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;LOAD ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Supplier,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Line,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Alocated,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Brand,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;If(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Alocated = 'not',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If( Applymap('&lt;SPAN style="font-size: 13.3333px;"&gt;Map1',&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Supplier) = 4,4,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Applymap('&lt;SPAN style="font-size: 13.3333px;"&gt;Map2',&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Line&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;))) as Cluster&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 17:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Issue-Tables-coming-from-different-sources/m-p/1249460#M867923</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-12-12T17:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Join Issue - Tables coming from different sources</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Issue-Tables-coming-from-different-sources/m-p/1249461#M867924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Life saver!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 19:02:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Issue-Tables-coming-from-different-sources/m-p/1249461#M867924</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-12T19:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Join Issue - Tables coming from different sources</title>
      <link>https://community.qlik.com/t5/QlikView/Join-Issue-Tables-coming-from-different-sources/m-p/1249462#M867925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 13:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-Issue-Tables-coming-from-different-sources/m-p/1249462#M867925</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-12-13T13:50:55Z</dc:date>
    </item>
  </channel>
</rss>

