<?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 Join 2 tables but cannot calculate with the fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-2-tables-but-cannot-calculate-with-the-fields/m-p/142471#M21931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you are doing left join on tmpJC with a key figure (Labor) field I would recomment doing a sum for Labor. Otherwise, in case if you have more than one record in your xls file somehow, it will mess up the results. So something like this:&lt;/P&gt;&lt;P&gt;left join (tmpJC)&lt;BR /&gt;LOAD JOB_NUMBER,&lt;BR /&gt; sum(Labor) as Labor&lt;BR /&gt;FROM [Data Dump\JobCost\Late charge 2009.xls] (biff, embedded labels, table is [Accruals$])&lt;BR /&gt;group by JOB_NUMBER;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2009 18:53:23 GMT</pubDate>
    <dc:creator>disqr_rm</dc:creator>
    <dc:date>2009-04-27T18:53:23Z</dc:date>
    <item>
      <title>Join 2 tables but cannot calculate with the fields</title>
      <link>https://community.qlik.com/t5/QlikView/Join-2-tables-but-cannot-calculate-with-the-fields/m-p/142469#M21929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;elle Fellow users,&lt;B&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have joined the tables JC with JC.Accruals and I would like to calculate with those fields. I would like to add the fild JOB_NUMBER (TABLE JC) With the field labor (table JC.ACCRUALS). When I run the script the system gifs me the following massage &lt;EM&gt;field not found-&amp;lt;JC.Accruals.Labor&amp;gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Could someone help me with this. Below you will find the script.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Aissam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;JC:&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOB_NUMBER,&lt;/P&gt;&lt;P&gt;LABOR_ACTUAL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;LABOR_ACTUAL + JC.Accruals.Labor &lt;B&gt;as&lt;/B&gt; LaborActual&lt;/P&gt;&lt;P&gt;from table;&lt;/P&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;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Qualify&lt;/B&gt;*;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;UnQualify&lt;/B&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOB_NUMBER;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;JC.Accruals:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;left&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;join&lt;/B&gt; (&lt;I&gt;JC&lt;/I&gt;) &lt;B&gt;LOAD&lt;/B&gt; JOB_NUMBER,&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Labor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;FROM&lt;/B&gt; [Data Dump\JobCost\Late charge 2009.xls] (biff, embedded labels, table is [Accruals$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Unqualify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 15:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-2-tables-but-cannot-calculate-with-the-fields/m-p/142469#M21929</guid>
      <dc:creator />
      <dc:date>2009-04-27T15:55:18Z</dc:date>
    </item>
    <item>
      <title>Join 2 tables but cannot calculate with the fields</title>
      <link>https://community.qlik.com/t5/QlikView/Join-2-tables-but-cannot-calculate-with-the-fields/m-p/142470#M21930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Aissam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmpJC:&lt;BR /&gt;LOAD&lt;BR /&gt; JOB_NUMBER,&lt;BR /&gt; LABOR_ACTUAL&lt;BR /&gt;from table;&lt;BR /&gt;&lt;BR /&gt;left join (tmpJC)&lt;BR /&gt;LOAD JOB_NUMBER,&lt;BR /&gt; Labor&lt;BR /&gt;FROM [Data Dump\JobCost\Late charge 2009.xls] (biff, embedded labels, table is [Accruals$]);&lt;BR /&gt;&lt;BR /&gt;JC:&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;LOAD *,&lt;BR /&gt; LABOR_ACTUAL + Labor as LaborActual&lt;BR /&gt;RESIDENT tmpJC;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE tmpJC;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 18:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-2-tables-but-cannot-calculate-with-the-fields/m-p/142470#M21930</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2009-04-27T18:24:40Z</dc:date>
    </item>
    <item>
      <title>Join 2 tables but cannot calculate with the fields</title>
      <link>https://community.qlik.com/t5/QlikView/Join-2-tables-but-cannot-calculate-with-the-fields/m-p/142471#M21931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you are doing left join on tmpJC with a key figure (Labor) field I would recomment doing a sum for Labor. Otherwise, in case if you have more than one record in your xls file somehow, it will mess up the results. So something like this:&lt;/P&gt;&lt;P&gt;left join (tmpJC)&lt;BR /&gt;LOAD JOB_NUMBER,&lt;BR /&gt; sum(Labor) as Labor&lt;BR /&gt;FROM [Data Dump\JobCost\Late charge 2009.xls] (biff, embedded labels, table is [Accruals$])&lt;BR /&gt;group by JOB_NUMBER;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 18:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-2-tables-but-cannot-calculate-with-the-fields/m-p/142471#M21931</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-04-27T18:53:23Z</dc:date>
    </item>
    <item>
      <title>Join 2 tables but cannot calculate with the fields</title>
      <link>https://community.qlik.com/t5/QlikView/Join-2-tables-but-cannot-calculate-with-the-fields/m-p/142472#M21932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your comment, just one question. Why do you use noconcatenate?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aissam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 01:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-2-tables-but-cannot-calculate-with-the-fields/m-p/142472#M21932</guid>
      <dc:creator />
      <dc:date>2009-04-28T01:12:28Z</dc:date>
    </item>
  </channel>
</rss>

