<?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: Create one table from 2 existing tables in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638297#M4526</link>
    <description>&lt;P&gt;Ok, can you provide your script ?&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2019 11:37:51 GMT</pubDate>
    <dc:creator>otmane</dc:creator>
    <dc:date>2019-10-22T11:37:51Z</dc:date>
    <item>
      <title>Create one table from 2 existing tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638196#M4517</link>
      <description>&lt;P&gt;Hey guys, please see the pictures for a better understanding.&lt;/P&gt;&lt;P&gt;What I'm trying to do is create that RevenuesDiscounts table that will contain all information from discounts and from revenues so that I can work with it.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="123.png" style="width: 575px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22079iDD9A9038C49F96DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="123.png" alt="123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RevenuesDiscounts:&lt;BR /&gt;load revenues.amount, 'revenue' as type resident revenues;&lt;BR /&gt;load discounts.discount_amount, 'discount' as type resident discounts;&lt;BR /&gt;&lt;BR /&gt;How may I do that so that my script works?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 14:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638196#M4517</guid>
      <dc:creator>Amba</dc:creator>
      <dc:date>2021-12-22T14:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create one table from 2 existing tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638223#M4519</link>
      <description>&lt;P&gt;You can perform a JOIN between the two tables. I usually do this by using JOIN command in Data Load Editor (reload script). However, you can also join tables interactively in Data Manager.&amp;nbsp; Instruction at&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/September2019/Subsystems/Hub/Content/Sense_Hub/LoadData/join-keep-tables-in-data-manager.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/September2019/Subsystems/Hub/Content/Sense_Hub/LoadData/join-keep-tables-in-data-manager.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 09:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638223#M4519</guid>
      <dc:creator>vunguyenq89</dc:creator>
      <dc:date>2019-10-22T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create one table from 2 existing tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638225#M4520</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/87859" target="_self"&gt;&lt;SPAN class=""&gt;Amba,&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You should add the "&lt;/SPAN&gt;&lt;SPAN class="statement"&gt;concatenate"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;prefix in the script&amp;nbsp;between the two load lignes :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can also add a new field in the loads statements to insert the tables types.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RevenuesDiscounts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;load 'revenues' as type , revenues.amount, 'revenue' as type resident revenues;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="statement"&gt;concatenate&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;load 'discounts' as type, discounts.discount_amount, 'discount' as type resident discounts;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope This help,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Otmane&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 09:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638225#M4520</guid>
      <dc:creator>otmane</dc:creator>
      <dc:date>2019-10-22T09:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create one table from 2 existing tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638273#M4523</link>
      <description>&lt;P&gt;Thank you guys.&lt;BR /&gt;Using concatenate doesn't help me and gives me an error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RevenuesDiscounts:&lt;BR /&gt;load '&lt;STRONG&gt;revenues'&lt;/STRONG&gt; as type , revenues.amount, 'revenue' as type resident revenues;&lt;BR /&gt;concatenate&lt;BR /&gt;load 'discounts' as type, discounts.discount_amount, 'discount' as type resident discounts;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="123.png" style="width: 808px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22093i108A73F2E260AFE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="123.png" alt="123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/3002"&gt;@vunguyenq89&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Using the join would merge the tables together. What I'm looking for is a new table that would contain the two tables. But I want them to still be available alone.&lt;BR /&gt;Should be smth like:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Table1 : RevenuesDiscounts(new)&lt;BR /&gt;Table2: Revenues(didnt change)&lt;BR /&gt;Table3: Discounts(didnt change)&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 11:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638273#M4523</guid>
      <dc:creator>Amba</dc:creator>
      <dc:date>2019-10-22T11:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create one table from 2 existing tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638279#M4524</link>
      <description>&lt;P&gt;This error is not due to the&amp;nbsp; concatanate, it's because you are not using the right table in the resident statement:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"resident revenues". You should remplace i with the right table name that contain revenues data.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 11:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638279#M4524</guid>
      <dc:creator>otmane</dc:creator>
      <dc:date>2019-10-22T11:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create one table from 2 existing tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638284#M4525</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="123.png" style="width: 322px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22097iAC368900388F59D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="123.png" alt="123.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;But both table exist in the data manager, I'm a bit lost&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 11:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638284#M4525</guid>
      <dc:creator>Amba</dc:creator>
      <dc:date>2019-10-22T11:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create one table from 2 existing tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638297#M4526</link>
      <description>&lt;P&gt;Ok, can you provide your script ?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 11:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638297#M4526</guid>
      <dc:creator>otmane</dc:creator>
      <dc:date>2019-10-22T11:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create one table from 2 existing tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638334#M4527</link>
      <description>&lt;P&gt;I've sent you a copy to your inbox.&lt;BR /&gt;&lt;BR /&gt;So actually all I want to do is have those two fields:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="123.png" style="width: 211px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22104i88C77C7997BB498A/image-size/large?v=v2&amp;amp;px=999" role="button" title="123.png" alt="123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In that new "RevenuesDiscounts" cell. So that I can later compare the Revenues to the Amount of revenues+discount.&lt;/P&gt;&lt;P&gt;I managed to do it but that was quite a long time ago and I have no clue how to do it now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 12:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638334#M4527</guid>
      <dc:creator>Amba</dc:creator>
      <dc:date>2019-10-22T12:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create one table from 2 existing tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638715#M4534</link>
      <description>&lt;P&gt;I managed to fix it. My script has many sections on the left where I load data from various databases.&amp;nbsp;&lt;BR /&gt;Basically the reason why it did not work is that I wanted to load data that was not stored yet since I as executing this script before the Lib Connect.&lt;/P&gt;&lt;P&gt;Sometimes, the answer might be easy as well&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 07:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Create-one-table-from-2-existing-tables/m-p/1638715#M4534</guid>
      <dc:creator>Amba</dc:creator>
      <dc:date>2019-10-23T07:28:00Z</dc:date>
    </item>
  </channel>
</rss>

