<?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 Pivot Table from 2 different tables help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-from-2-different-tables-help/m-p/1140459#M894140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I am very new to Qlik, I have successfully created an App that displays a Pivot Table of information from 2 different tables. I just have the "Companies" associated with each other but I am running into some problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both of my tables I have a column that displays Customer or Non-Customer. I have the two columns labeled differently Table 1 (Customer 1 Column) and Table 2 (Customer 2 Column). Sometimes in table 1 it will say that the company is a customer, sometimes it will say it in table 2. Sometimes both tables say it and sometimes one table says it is a customer and the other table does't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to show in my pivot table all customers or non-customers but it only takes information from one table or the other. I tried to create an IF function to combine the columns but it is not working correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very new and have very little to no knowledge on scripts and code. If someone could help I would much appreciate it! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Pivot Table from 2 different tables help</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-from-2-different-tables-help/m-p/1140459#M894140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I am very new to Qlik, I have successfully created an App that displays a Pivot Table of information from 2 different tables. I just have the "Companies" associated with each other but I am running into some problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both of my tables I have a column that displays Customer or Non-Customer. I have the two columns labeled differently Table 1 (Customer 1 Column) and Table 2 (Customer 2 Column). Sometimes in table 1 it will say that the company is a customer, sometimes it will say it in table 2. Sometimes both tables say it and sometimes one table says it is a customer and the other table does't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to show in my pivot table all customers or non-customers but it only takes information from one table or the other. I tried to create an IF function to combine the columns but it is not working correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very new and have very little to no knowledge on scripts and code. If someone could help I would much appreciate it! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&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/Pivot-Table-from-2-different-tables-help/m-p/1140459#M894140</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table from 2 different tables help</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-from-2-different-tables-help/m-p/1140460#M894141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shane.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please add some example of data which is in both tables? How are those structured? If you can also draft what result are you expecting to get that would help &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;I have a feeling you just need to concatenate both tables in QV, but you did not tell if those tables carry other information as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Kuba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 18:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-from-2-different-tables-help/m-p/1140460#M894141</guid>
      <dc:creator />
      <dc:date>2016-08-05T18:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table from 2 different tables help</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-from-2-different-tables-help/m-p/1140461#M894142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both tables have different and same data. So for instance, I want to consolidate all the emails associated with the companies. In table 1 I have some emails and in table 2 I have the same, different or no emails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1 (Email Column) | Table 2 (Email Column) | Data I want to Show&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:jake@qlik.com"&gt;jake@qlik.com&lt;/A&gt;&lt;SPAN&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:jake@qlik.com"&gt;jake@qlik.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:sam@qlik.com"&gt;sam@qlik.com&lt;/A&gt;&lt;SPAN&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;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:sam@qlik.com"&gt;sam@qlik.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:jerry@qlik.com"&gt;jerry@qlik.com&lt;/A&gt;&lt;SPAN&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; &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:jerry@qlik.com"&gt;jerry@qlik.com&lt;/A&gt;&lt;SPAN&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; |&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:jerry@qlik.com"&gt;jerry@qlik.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:alice@qlik.com"&gt;alice@qlik.com&lt;/A&gt;&lt;SPAN&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; | &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:sara@qlik.com"&gt;sara@qlik.com&lt;/A&gt;&lt;SPAN&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;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:alice@qlik.com"&gt;alice@qlik.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this shows accurately and helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 18:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-from-2-different-tables-help/m-p/1140461#M894142</guid>
      <dc:creator />
      <dc:date>2016-08-05T18:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table from 2 different tables help</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-from-2-different-tables-help/m-p/1140462#M894143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below code:&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_14704237517054992" jivemacro_uid="_14704237517054992"&gt;
&lt;P&gt;Tab1:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompanyID, email&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:jake@qlik.com"&gt;jake@qlik.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:jerry@qlik.com"&gt;jerry@qlik.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:alice@qlik.com"&gt;alice@qlik.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Join (Tab1)&lt;/P&gt;
&lt;P&gt;Tab2:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompanyID, email2&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:sam@qlik.com"&gt;sam@qlik.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:jerry@qlik.com"&gt;jerry@qlik.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:sara@qlik.com"&gt;sara@qlik.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Final:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;CompanyID,&lt;/P&gt;
&lt;P&gt;IF(ISNULL(email) OR TRIM(email)='', email2, email) as email&lt;/P&gt;
&lt;P&gt;RESIDENT Tab1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP table Tab1;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 08-05-16 at 09.03 PM.PNG" class="jive-image image-1" src="/legacyfs/online/133809_Screen Shot 08-05-16 at 09.03 PM.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Kuba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 19:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-from-2-different-tables-help/m-p/1140462#M894143</guid>
      <dc:creator />
      <dc:date>2016-08-05T19:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table from 2 different tables help</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-from-2-different-tables-help/m-p/1140463#M894144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While that would be awesome and work for those specific emails, will it work for every entry in the columns? I have close to 2000 rows of emails. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 19:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-from-2-different-tables-help/m-p/1140463#M894144</guid>
      <dc:creator />
      <dc:date>2016-08-05T19:08:41Z</dc:date>
    </item>
  </channel>
</rss>

