<?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: Join issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277198#M864378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a calendar with this script:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ORDERS:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Date#(Date,'DD/MM/YYYY') as Date, Sales_nb, Seller INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Date, Sales_nb, Seller&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;02/01/2016,234,A&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;09/01/2016,867,B&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;13/01/2016,908,C&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;16/01/2016,345,D&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;19/01/2016,450,E&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;24/01/2016,345,F&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;25/01/2016,234,G&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;29/01/2016,255,H];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vMinDate=Num(Date('01/01/2016')); // This can be more dynamic&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vMaxDate=Num(Date('31/01/2016'));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Calendar:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load Date, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Month(Date) as Month,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Year(Date) as Year;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load Date($(vMinDate)+iterno() -1) as Date AutoGenerate 1 While iterno() &amp;lt;= $(vMaxDate) - $(vMinDate);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView joins tables using fields with same name, in the case of a calendar usually is kept in a separate table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you want to know more about dates take a look at this posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2016 20:51:18 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2016-12-16T20:51:18Z</dc:date>
    <item>
      <title>Join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277196#M864376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for display all value of time axis. In my sample in attached file, i have Nb Sales for January 2016. I want display in my chart all value of date, from 01/01 to 31/01. Even for days which no sales has occured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last year, i did that in an app with a left join in my load statement and it was ok. What goes wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277196#M864376</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277197#M864377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sergio, using a left join only keeps the dates from the first table, you can use 'outer' instead of 'left' to keep dates from both tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or better, generate a calendar: &lt;A href="https://community.qlik.com/qlik-blogpost/2802"&gt;The Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 20:40:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277197#M864377</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-12-16T20:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277198#M864378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a calendar with this script:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ORDERS:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Date#(Date,'DD/MM/YYYY') as Date, Sales_nb, Seller INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Date, Sales_nb, Seller&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;02/01/2016,234,A&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;09/01/2016,867,B&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;13/01/2016,908,C&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;16/01/2016,345,D&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;19/01/2016,450,E&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;24/01/2016,345,F&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;25/01/2016,234,G&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;29/01/2016,255,H];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vMinDate=Num(Date('01/01/2016')); // This can be more dynamic&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vMaxDate=Num(Date('31/01/2016'));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Calendar:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load Date, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Month(Date) as Month,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Year(Date) as Year;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load Date($(vMinDate)+iterno() -1) as Date AutoGenerate 1 While iterno() &amp;lt;= $(vMaxDate) - $(vMinDate);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView joins tables using fields with same name, in the case of a calendar usually is kept in a separate table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you want to know more about dates take a look at this posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 20:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277198#M864378</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-12-16T20:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277199#M864379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ruben. thanks for your reply. I forgot to mention in my post that i have already tried with outer. The result is ok for a table box but not in charts (see my new attached file).&lt;/P&gt;&lt;P&gt;I'll try with creation a master calendar as you propose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 21:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277199#M864379</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2016-12-16T21:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277200#M864380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergio, in presentation tab-&amp;gt; uncheck 'Supress zero values'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 21:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277200#M864380</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-12-16T21:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277201#M864381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the Zero on bars, uncheck the Suppress Zero_values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146918_Capture.PNG" style="height: 550px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 21:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-issue/m-p/1277201#M864381</guid>
      <dc:creator>alexpanjhc</dc:creator>
      <dc:date>2016-12-16T21:36:51Z</dc:date>
    </item>
  </channel>
</rss>

