<?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 isn't working... in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Left-join-isn-t-working/m-p/2077723#M88400</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I have a problem with a left join not working properly...&lt;/P&gt;
&lt;P&gt;I have a first table like this (sql is a bit complicated so I cut, but it works !) :&lt;/P&gt;
&lt;P&gt;OCCUP:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SQL&lt;BR /&gt;SELECT UFM,pdate,COUNT(DISTINCT sejo_id_pati) NBPAT&lt;BR /&gt;FROM (&lt;BR /&gt;... ) GROUP BY UFM,pdate&lt;BR /&gt;ORDER BY UFM,pdate&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I want is add a new variable from an excel file depending on the UFM variable.&lt;/P&gt;
&lt;P&gt;So I did this :&lt;/P&gt;
&lt;P&gt;LEFT JOIN(OCCUP)&lt;BR /&gt;LOAD &lt;BR /&gt;UFM,CAPACITE&lt;BR /&gt;FROM [$(vCAPACIT)]&lt;BR /&gt;(ooxml, embedded labels, table is Feuil1);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The new variable is there but its empty...&lt;/P&gt;
&lt;P&gt;And when I load the 2 tables separatly, all is good with a join between them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tested that all distinct UFM in OCCUP are present in the second table.&lt;/P&gt;
&lt;P&gt;I also tried to load the 2 tables and then join them but didn't worked&lt;/P&gt;
&lt;P&gt;So, Im asking to you !&lt;/P&gt;
&lt;P&gt;Thx for your help !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 11:10:42 GMT</pubDate>
    <dc:creator>LudoP</dc:creator>
    <dc:date>2023-05-30T11:10:42Z</dc:date>
    <item>
      <title>Left join isn't working...</title>
      <link>https://community.qlik.com/t5/App-Development/Left-join-isn-t-working/m-p/2077723#M88400</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I have a problem with a left join not working properly...&lt;/P&gt;
&lt;P&gt;I have a first table like this (sql is a bit complicated so I cut, but it works !) :&lt;/P&gt;
&lt;P&gt;OCCUP:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SQL&lt;BR /&gt;SELECT UFM,pdate,COUNT(DISTINCT sejo_id_pati) NBPAT&lt;BR /&gt;FROM (&lt;BR /&gt;... ) GROUP BY UFM,pdate&lt;BR /&gt;ORDER BY UFM,pdate&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I want is add a new variable from an excel file depending on the UFM variable.&lt;/P&gt;
&lt;P&gt;So I did this :&lt;/P&gt;
&lt;P&gt;LEFT JOIN(OCCUP)&lt;BR /&gt;LOAD &lt;BR /&gt;UFM,CAPACITE&lt;BR /&gt;FROM [$(vCAPACIT)]&lt;BR /&gt;(ooxml, embedded labels, table is Feuil1);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The new variable is there but its empty...&lt;/P&gt;
&lt;P&gt;And when I load the 2 tables separatly, all is good with a join between them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tested that all distinct UFM in OCCUP are present in the second table.&lt;/P&gt;
&lt;P&gt;I also tried to load the 2 tables and then join them but didn't worked&lt;/P&gt;
&lt;P&gt;So, Im asking to you !&lt;/P&gt;
&lt;P&gt;Thx for your help !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 11:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Left-join-isn-t-working/m-p/2077723#M88400</guid>
      <dc:creator>LudoP</dc:creator>
      <dc:date>2023-05-30T11:10:42Z</dc:date>
    </item>
  </channel>
</rss>

