<?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 Left join Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-join-Error/m-p/197964#M57430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael&lt;/P&gt;&lt;P&gt;many thanks for your reply&lt;/P&gt;&lt;P&gt;I know that at the end the fields will be all avaiables, but for saveing time and processor i would like precalcolate the result during the script&lt;/P&gt;&lt;P&gt;To do this probabliyI have to do another load (after the left join, load) from resident table and calcoulate them&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Claudio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jun 2010 22:01:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-22T22:01:27Z</dc:date>
    <item>
      <title>Left join Error</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-Error/m-p/197962#M57428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-style: italic"&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;I&gt;somehone can help me please.&lt;/I&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;If I use a field readed on first Table the script send an error&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Rem&lt;/I&gt; --------------Table Orders-------------;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Orders&lt;/I&gt;&lt;I&gt;:&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;load&lt;/B&gt; *&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;date#&lt;B&gt;(&lt;/B&gt;BPYYMD&lt;B&gt;,&lt;/B&gt;'YYYYMMDD'&lt;B&gt;)&lt;/B&gt; &lt;B&gt;AS&lt;/B&gt; DataCalcolata&lt;/P&gt;&lt;P&gt;DEJART &lt;B&gt;as&lt;/B&gt; Article&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;DEPREZ &lt;B&gt;as&lt;/B&gt; Price&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;DEARTC &lt;B&gt;as&lt;/B&gt; DescArt&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;SELECT&lt;/B&gt; *&lt;/P&gt;&lt;P&gt;&lt;B&gt;FROM&lt;/B&gt; ORDERLINE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Rem&lt;/I&gt; --------------Table Cost -------------;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;TableCost:&lt;/P&gt;&lt;P&gt;&lt;B&gt;LOAD&lt;/B&gt;&lt;/P&gt;&lt;P&gt;StartDate&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;addmonths&lt;B&gt;((&lt;/B&gt;StartDate&lt;B&gt;-&lt;/B&gt;1&lt;B&gt;),&lt;/B&gt;12&lt;B&gt;,&lt;/B&gt;1&lt;B&gt;)&lt;/B&gt; &lt;B&gt;as&lt;/B&gt; EndDate&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;FOTRHD &lt;B&gt;as&lt;/B&gt; CostTransport&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;FOTRVA &lt;B&gt;as&lt;/B&gt; Eur_Mult;&lt;/P&gt;&lt;P&gt;&lt;B&gt;LOAD&lt;/B&gt; *&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;date#&lt;B&gt;(&lt;/B&gt;FODATA&lt;B&gt;,&lt;/B&gt;'YYYYMMDD'&lt;B&gt;)&lt;/B&gt; &lt;B&gt;as&lt;/B&gt; StartDate;&lt;/P&gt;&lt;P&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;SELECT&lt;/B&gt; *&lt;/P&gt;&lt;P&gt;&lt;B&gt;FROM&lt;/B&gt; COSTITRS;&lt;/P&gt;&lt;P&gt;where FODATA&amp;gt;=&lt;B&gt;&lt;I&gt;$(vStartSql)&lt;/I&gt;&lt;/B&gt;;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: "&lt;/STRONG&gt;Field PRICE not found &lt;STRONG&gt;&lt;/STRONG&gt; &lt;B&gt;if I don't use the field PRICE the script works well.&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;I have reduced the script, I hope to have rewrite the field's name correctly, anyway the problem is to use a field reading during&lt;/P&gt;&lt;P style="font-weight: bold"&gt;the SQL SELECT * FROM ORDERLINE&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;I&gt;Rem&lt;/I&gt; -------------- Join Orders -------------;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;B&gt;LEFT&lt;/B&gt; &lt;B&gt;JOIN&lt;/B&gt; &lt;B&gt;(Orders&lt;/B&gt;&lt;B&gt;)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;LOAD&lt;/B&gt;&lt;/P&gt;&lt;P&gt;StartDate &lt;B&gt;+&lt;/B&gt; IterNo&lt;B&gt;()&lt;/B&gt; &lt;B&gt;-&lt;/B&gt;1 &lt;B&gt;AS&lt;/B&gt; DataCalcolata&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;(PRICE &lt;STRONG&gt;+CostTransport)&lt;/STRONG&gt; &lt;B&gt;as&lt;/B&gt; PriceOrder&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;((&lt;/B&gt;100&lt;B&gt;-&lt;/B&gt;Eur_Mult&lt;B&gt;)/&lt;/B&gt;100&lt;B&gt;)&lt;/B&gt; &lt;B&gt;as&lt;/B&gt; EurPercentage&lt;B&gt;,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;RESIDENT&lt;/B&gt; TableCost&lt;/P&gt;&lt;P&gt;&lt;B&gt;WHILE&lt;/B&gt; StartDate &lt;B&gt;+&lt;/B&gt; IterNo&lt;B&gt;()&lt;/B&gt; &lt;B&gt;-&lt;/B&gt; 1 &lt;B&gt;&amp;lt;=&lt;/B&gt;EndDate;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Many Thanks&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Claudio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 21:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-Error/m-p/197962#M57428</guid>
      <dc:creator />
      <dc:date>2010-06-22T21:25:53Z</dc:date>
    </item>
    <item>
      <title>Left join Error</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-Error/m-p/197963#M57429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Claudio,&lt;BR /&gt;You're loading data from TableCost - so the fields here can be used only if they exist in TableCost, no matter to what table you're joining it. &lt;STRONG&gt;After&lt;/STRONG&gt; join you can use fields in the resulting table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 21:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-Error/m-p/197963#M57429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-22T21:34:27Z</dc:date>
    </item>
    <item>
      <title>Left join Error</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-Error/m-p/197964#M57430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael&lt;/P&gt;&lt;P&gt;many thanks for your reply&lt;/P&gt;&lt;P&gt;I know that at the end the fields will be all avaiables, but for saveing time and processor i would like precalcolate the result during the script&lt;/P&gt;&lt;P&gt;To do this probabliyI have to do another load (after the left join, load) from resident table and calcoulate them&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Claudio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 22:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-Error/m-p/197964#M57430</guid>
      <dc:creator />
      <dc:date>2010-06-22T22:01:27Z</dc:date>
    </item>
    <item>
      <title>Left join Error</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-Error/m-p/197965#M57431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct, you can do it in the script as well, but it could be done after you join the source tables, not at the moment of joinining.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 01:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-Error/m-p/197965#M57431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-23T01:04:45Z</dc:date>
    </item>
  </channel>
</rss>

