<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-Join/m-p/1550379#M440220</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have these two tables&lt;/P&gt;&lt;P&gt;Entete:&lt;/P&gt;&lt;P&gt;IDEntete,&lt;/P&gt;&lt;P&gt;Parameter;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ligne:&lt;/P&gt;&lt;P&gt;IDLigne,&lt;/P&gt;&lt;P&gt;IDEntete,&lt;/P&gt;&lt;P&gt;Number;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue is that if Parameter = 'A' then Number must be multiplied by -1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess I should do a left join with a calculated field, is this the right solution and what would the be syntax ?&lt;/P&gt;&lt;P&gt;i there a way to recalculate Number without a left join ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Vauban&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2019 10:17:04 GMT</pubDate>
    <dc:creator>vauban</dc:creator>
    <dc:date>2019-02-28T10:17:04Z</dc:date>
    <item>
      <title>Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join/m-p/1550379#M440220</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have these two tables&lt;/P&gt;&lt;P&gt;Entete:&lt;/P&gt;&lt;P&gt;IDEntete,&lt;/P&gt;&lt;P&gt;Parameter;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ligne:&lt;/P&gt;&lt;P&gt;IDLigne,&lt;/P&gt;&lt;P&gt;IDEntete,&lt;/P&gt;&lt;P&gt;Number;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue is that if Parameter = 'A' then Number must be multiplied by -1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess I should do a left join with a calculated field, is this the right solution and what would the be syntax ?&lt;/P&gt;&lt;P&gt;i there a way to recalculate Number without a left join ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Vauban&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 10:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join/m-p/1550379#M440220</guid>
      <dc:creator>vauban</dc:creator>
      <dc:date>2019-02-28T10:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join/m-p/1550392#M440223</link>
      <description>If you are looking for answer to recalculate Number without using left join then yes we can do it.&lt;BR /&gt;but it involve multiple step which you can avoid by doing left join.&lt;BR /&gt;&lt;BR /&gt;1: With out using Left Join&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;Entete:&lt;BR /&gt;Load&lt;BR /&gt;IDEntete,&lt;BR /&gt;Parameter&lt;BR /&gt;from table1&lt;BR /&gt;where Parameter='A'&lt;BR /&gt;&lt;BR /&gt;Ligne:&lt;BR /&gt;&lt;BR /&gt;Load IDLigne,&lt;BR /&gt;IDEntete,&lt;BR /&gt;Number*-1 as Number&lt;BR /&gt;where exists(InEntete,IDEntete);&lt;BR /&gt;&lt;BR /&gt;concatenate&lt;BR /&gt;&lt;BR /&gt;Load IDLigne,&lt;BR /&gt;IDEntete,&lt;BR /&gt;Number as Number&lt;BR /&gt;where not exists(InEntete,IDEntete);&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Prashant Sangle</description>
      <pubDate>Thu, 28 Feb 2019 10:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join/m-p/1550392#M440223</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2019-02-28T10:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join/m-p/1550457#M440228</link>
      <description>&lt;P&gt;Fine Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would be the syntax if I wanted to use left join and get the number * -1 ?&lt;/P&gt;&lt;P&gt;what do you recommend in term of performance ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vauban&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 12:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join/m-p/1550457#M440228</guid>
      <dc:creator>vauban</dc:creator>
      <dc:date>2019-02-28T12:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join/m-p/1551021#M440271</link>
      <description>&lt;P&gt;Hi Vauban,&lt;/P&gt;&lt;P&gt;my proposal is to use ApplyMap.&lt;BR /&gt;&lt;BR /&gt;1. Mapping table:&lt;/P&gt;&lt;P&gt;MapParameter:&lt;BR /&gt;Mapping&lt;BR /&gt;Load&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IDEntete,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Parameter&lt;BR /&gt;Resident Entete;&lt;BR /&gt;Drop Table Entete;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2. Enter 'Parameter' in table 'Ligne':&lt;/P&gt;&lt;P&gt;Ligne:&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IDLigne,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IDEntete,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ApplyMap('MapParameter',&amp;nbsp; IDEntete) as Parameter,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Number;&lt;/P&gt;&lt;P&gt;Now you have Parameter and Number in one table and can do your calculation.&lt;/P&gt;&lt;P&gt;Happy qliking&lt;/P&gt;&lt;P&gt;Burkhard&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 10:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join/m-p/1551021#M440271</guid>
      <dc:creator>veidlburkhard</dc:creator>
      <dc:date>2019-03-01T10:40:43Z</dc:date>
    </item>
  </channel>
</rss>

