<?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 Add rows to resident table from another resident table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191627#M53632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I thought however it is resulting in a cartesian product.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Nov 2010 13:37:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-18T13:37:44Z</dc:date>
    <item>
      <title>Add rows to resident table from another resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191625#M53630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 Resident tables in my load script:&lt;/P&gt;&lt;P&gt;Table1 has fields A, B and C&lt;/P&gt;&lt;P&gt;Table2 has fields D, E and F&lt;/P&gt;&lt;P&gt;I need to append all the rows in Table2 to Table1 where D maps to A, E maps to B, and F maps to C; how can I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 20:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191625#M53630</guid>
      <dc:creator />
      <dc:date>2010-11-17T20:04:49Z</dc:date>
    </item>
    <item>
      <title>Add rows to resident table from another resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191626#M53631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;concatenate(Table1)&lt;/P&gt;&lt;P&gt;LOAD D as A,&lt;/P&gt;&lt;P&gt;E as B,&lt;/P&gt;&lt;P&gt;F as C&lt;/P&gt;&lt;P&gt;resident Table2;&lt;/P&gt;&lt;P&gt;drop table Table2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 20:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191626#M53631</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-11-17T20:06:54Z</dc:date>
    </item>
    <item>
      <title>Add rows to resident table from another resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191627#M53632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I thought however it is resulting in a cartesian product.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 13:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191627#M53632</guid>
      <dc:creator />
      <dc:date>2010-11-18T13:37:44Z</dc:date>
    </item>
    <item>
      <title>Add rows to resident table from another resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191628#M53633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Can you provide an example using the two tables (a few records on each) and the desired results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 14:00:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191628#M53633</guid>
      <dc:creator>john_duffy</dc:creator>
      <dc:date>2010-11-18T14:00:07Z</dc:date>
    </item>
    <item>
      <title>Add rows to resident table from another resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191629#M53634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have to give the alias to the first or second table so that the field name should be same.&lt;/P&gt;&lt;P&gt;Take bothe the tables like:&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;LOAD A,&lt;/P&gt;&lt;P&gt;B,&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;resident Table1;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD D as A,&lt;/P&gt;&lt;P&gt;E as B,&lt;/P&gt;&lt;P&gt;F as C&lt;/P&gt;&lt;P&gt;resident Table2;&lt;/P&gt;&lt;P&gt;drop table Table2;&lt;/P&gt;&lt;P&gt;drop table Table1;&lt;/P&gt;&lt;P&gt;It will work automatically for concatenation.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 14:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191629#M53634</guid>
      <dc:creator />
      <dc:date>2010-11-18T14:09:30Z</dc:date>
    </item>
    <item>
      <title>Add rows to resident table from another resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191630#M53635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0576.withConcat.JPG"&gt;&lt;/A&gt;A &lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/6445.withoutConcat.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/6445.withoutConcat.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;B&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5852.withConcat.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5852.withConcat.JPG" /&gt;&lt;/A&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/3005.withoutConcat.JPG"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="font-style: italic; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;BudgetByQtr:&lt;/P&gt;&lt;P style="font-weight: bold; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;LOAD&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;ProjectID_SYS,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;BudgetAmt,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;[BudgetType3] &lt;B&gt;AS&lt;/B&gt; BudgetType,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;[QtrYear2] &lt;B&gt;AS&lt;/B&gt; QtrYear&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;RESIDENT&lt;/B&gt; TempBudget3;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;/P&gt;&lt;P style="font-style: italic; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;BudgetActualsTotal:&lt;/P&gt;&lt;P style="font-weight: bold; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;LOAD&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;TCalCostType &lt;B&gt;as&lt;/B&gt; ABudgetType,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;TQtrYear &lt;B&gt;as&lt;/B&gt; AQtrYear,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;TTotCostAmount &lt;B&gt;as&lt;/B&gt; ABudgetAmt&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;RESIDENT&lt;/B&gt; BudgetActuals;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;JOIN&lt;/B&gt; &lt;B&gt;LOAD&lt;/B&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;ProjectID_SYS &lt;B&gt;as&lt;/B&gt; ProjectID_SYS&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;RESIDENT&lt;/B&gt; [Project Details];&lt;BR style="mso-special-character:line-break;" /&gt;&lt;BR style="mso-special-character:line-break;" /&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;CONCATENATE&lt;/B&gt; (BudgetByQtr)&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;LOAD&lt;/B&gt; ProjectID_SYS,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;ABudgetType &lt;B&gt;as&lt;/B&gt; BudgetType,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;ABudgetAmt &lt;B&gt;as&lt;/B&gt; BudgetAmt,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;AQtrYear &lt;B&gt;as&lt;/B&gt; QtrYear&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;RESIDENT&lt;/B&gt; BudgetActualsTotal;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;Figure A is a result of commenting out the CONCATENATE block and Figure B is a result of having the CONCATENATE block in there. As you can see in B, there are many record in there for the actuals, when there should only be 5 records that have "*Actual" in the BudgetType column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 14:37:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191630#M53635</guid>
      <dc:creator />
      <dc:date>2010-11-18T14:37:00Z</dc:date>
    </item>
    <item>
      <title>Add rows to resident table from another resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191631#M53636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;In order to determine if it is just the above code that is causing the issue, I would need to reload the application at my end. Can you attach a sample QlikView application with a small sample of TempBudget3, BudgetActuals and [Project Details] data create via an inline load. This way I can reload and test the logic.&lt;/P&gt;&lt;P&gt;A couple of things I notice about the code:&lt;/P&gt;&lt;P&gt;The join to [Project Details] to attach ProjectID_SYS is a full join. Every combination of the two tables will be created. Not knowing how the entire application works, is this full join okay? Should distinct be used?&lt;/P&gt;&lt;P&gt;Also, when [Project Details] is joined, the field ProjectID_SYS is not renamed to AProjectID_SYS. Therefore, if the BudgetActualsTotal table is not dropped, there will be a link to it and the final BudgetByQtr table.&lt;/P&gt;&lt;P&gt;Again, since I don't know what the final application looks like, these are just a couple of things I noticed about the code that might be causing an issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 14:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191631#M53636</guid>
      <dc:creator>john_duffy</dc:creator>
      <dc:date>2010-11-19T14:17:26Z</dc:date>
    </item>
    <item>
      <title>Add rows to resident table from another resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191632#M53637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you drop the second table after concatenating it to the first?&lt;/P&gt;&lt;P&gt;If not, it of course, will give cartesian product.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 19:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191632#M53637</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-11-19T19:59:31Z</dc:date>
    </item>
    <item>
      <title>Add rows to resident table from another resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191633#M53638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't add the key to Table2 when I built it that's what caused my cartesian product. Thanks for your assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 20:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-rows-to-resident-table-from-another-resident-table/m-p/191633#M53638</guid>
      <dc:creator />
      <dc:date>2010-11-19T20:10:24Z</dc:date>
    </item>
  </channel>
</rss>

