<?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: Using Load Resident on 2+ Tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Load-Resident-on-2-Tables/m-p/684706#M1076044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create the Calculations in a Preceding Load&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2014 21:15:28 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2014-07-30T21:15:28Z</dc:date>
    <item>
      <title>Using Load Resident on 2+ Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Load-Resident-on-2-Tables/m-p/684704#M1076042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to pull fields out of two different tables to perform a calculation that will be a new field.&amp;nbsp; I am trying to do this with two load resident statements but cannot get the syntax to work.&amp;nbsp; I am hoping someone can correct my code or provide info for a better way to perform the same calculation.&amp;nbsp; From the table viewer everything is correctly joined, could there be an easier way to perform calculations to make new fields in script than load statements?&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Tap/Charge Tons]:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Charge Tons],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident [TotalChargeMaterial];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Tap Weight],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ([Plant] &amp;amp; [Melt Number]) as %MeltNumberKey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident [Melt Log];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Tap Weight]/2000/[Charge Tons] as [Tap/Charge Tons] Group By %MeltNumberKey&lt;/P&gt;&lt;P&gt;//Not sure if Group By is needed or not to Join tables correctly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 21:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Load-Resident-on-2-Tables/m-p/684704#M1076042</guid>
      <dc:creator />
      <dc:date>2014-07-30T21:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using Load Resident on 2+ Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Load-Resident-on-2-Tables/m-p/684705#M1076043</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;you're going to need at least one key between your two tables. Do you have Plant and Melt Number available in your TotalChargeMaterial table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 21:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Load-Resident-on-2-Tables/m-p/684705#M1076043</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2014-07-30T21:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Load Resident on 2+ Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Load-Resident-on-2-Tables/m-p/684706#M1076044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create the Calculations in a Preceding Load&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 21:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Load-Resident-on-2-Tables/m-p/684706#M1076044</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-07-30T21:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using Load Resident on 2+ Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Load-Resident-on-2-Tables/m-p/684707#M1076045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, both tables have the %NektNumberKey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 21:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Load-Resident-on-2-Tables/m-p/684707#M1076045</guid>
      <dc:creator />
      <dc:date>2014-07-30T21:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using Load Resident on 2+ Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Load-Resident-on-2-Tables/m-p/684708#M1076046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Ok then, maybe something like this&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;_temp:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; ([Plant] &amp;amp; [Melt Number]) as %MeltNumberKey&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Charge Tons]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Resident [TotalChargeMaterial];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LEFT JOIN (_temp)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Tap Weight],&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ([Plant] &amp;amp; [Melt Number]) as %MeltNumberKey,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident [Melt Log];&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FINAL:&lt;BR /&gt;NOCONCATENATE LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;%MeltNumberKey, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sum([Charge Tons]) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Charge Tons]&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum([Tap Weight]) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Tap Weight]&lt;/SPAN&gt;&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum( ([Tap Weight] / 2000) / [Charge Tons] ) as [Tap/Charge Tons] &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT _temp&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group By %MeltNumberKey;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP TABLE _temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 21:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Load-Resident-on-2-Tables/m-p/684708#M1076046</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2014-07-30T21:27:33Z</dc:date>
    </item>
  </channel>
</rss>

