<?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: No zero on line chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753904#M268608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change you script as below&lt;/P&gt;&lt;P&gt;As your data for IND and THI are same, I have changed Qty for IND&lt;/P&gt;&lt;P&gt;=========================&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date, Country, Qty&lt;/P&gt;&lt;P&gt;1/1/2014, IND, 20&lt;/P&gt;&lt;P&gt;1/1/2014, THI, 10&lt;/P&gt;&lt;P&gt;1/2/2014, IND, 20&lt;/P&gt;&lt;P&gt;1/2/2014, THI, 10&lt;/P&gt;&lt;P&gt;1/3/2014, THI, 0&lt;/P&gt;&lt;P&gt;1/4/2014, IND, 10&lt;/P&gt;&lt;P&gt;1/4/2014, THI, 5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MinMaxDate:&lt;/P&gt;&lt;P&gt;Load Min(Date) as MinDate, Max(Date) as MaxDate Resident T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMin = NUM(PEEK('MinDate',0,'MinMaxDate'));&lt;/P&gt;&lt;P&gt;Let vMax = NUM(PEEK('MaxDate',0,'MinMaxDate'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table MinMaxDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Date($(vMin) + IterNo() - 1) as Date &lt;/P&gt;&lt;P&gt;AutoGenerate 1 &lt;/P&gt;&lt;P&gt;While $(vMin) + IterNo() - 1 &amp;lt;= $(vMax);&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;Load Distinct Country Resident T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (Calendar)&lt;/P&gt;&lt;P&gt;Load * Resident T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table T1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 12:45:12 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-11-03T12:45:12Z</dc:date>
    <item>
      <title>No zero on line chart</title>
      <link>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753903#M268607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple example like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date, Country, Qty&lt;/P&gt;&lt;P&gt;1/1/2014, IND, 10&lt;/P&gt;&lt;P&gt;1/1/2014, THI, 10&lt;/P&gt;&lt;P&gt;1/2/2014, IND, 10&lt;/P&gt;&lt;P&gt;1/2/2014, THI, 10&lt;/P&gt;&lt;P&gt;1/3/2014, THI, 0.00&lt;/P&gt;&lt;P&gt;1/4/2014, IND, 5&lt;/P&gt;&lt;P&gt;1/4/2014, THI, 5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that here in the table, for 1/3/2014 THI is 0 and IND has no record. The Requirement is that for this data as it is, in the line chart it must show 0 for IND also for 1/3/2014 by changing an expression. Right now there will be nothing plotted for 1/3/2014 IND since the data is not there.&amp;nbsp; However the pivot shows correctly for both? Is there a way to achieve this. Please find the attached QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 12:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753903#M268607</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2014-11-03T12:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: No zero on line chart</title>
      <link>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753904#M268608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change you script as below&lt;/P&gt;&lt;P&gt;As your data for IND and THI are same, I have changed Qty for IND&lt;/P&gt;&lt;P&gt;=========================&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date, Country, Qty&lt;/P&gt;&lt;P&gt;1/1/2014, IND, 20&lt;/P&gt;&lt;P&gt;1/1/2014, THI, 10&lt;/P&gt;&lt;P&gt;1/2/2014, IND, 20&lt;/P&gt;&lt;P&gt;1/2/2014, THI, 10&lt;/P&gt;&lt;P&gt;1/3/2014, THI, 0&lt;/P&gt;&lt;P&gt;1/4/2014, IND, 10&lt;/P&gt;&lt;P&gt;1/4/2014, THI, 5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MinMaxDate:&lt;/P&gt;&lt;P&gt;Load Min(Date) as MinDate, Max(Date) as MaxDate Resident T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMin = NUM(PEEK('MinDate',0,'MinMaxDate'));&lt;/P&gt;&lt;P&gt;Let vMax = NUM(PEEK('MaxDate',0,'MinMaxDate'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table MinMaxDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Date($(vMin) + IterNo() - 1) as Date &lt;/P&gt;&lt;P&gt;AutoGenerate 1 &lt;/P&gt;&lt;P&gt;While $(vMin) + IterNo() - 1 &amp;lt;= $(vMax);&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;Load Distinct Country Resident T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (Calendar)&lt;/P&gt;&lt;P&gt;Load * Resident T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table T1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 12:45:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753904#M268608</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-03T12:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: No zero on line chart</title>
      <link>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753905#M268609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying Manish, we want to do only expression change. The script change would be quite expensive for the current stage of release we are in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we can do this with just expression change please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 12:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753905#M268609</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2014-11-03T12:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: No zero on line chart</title>
      <link>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753906#M268610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I know, 3rd Jan is not associated with IND, it's difficult to show 0 for the same without changing the script...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;May be someone can come with better idea... I don't have any other solution... Sorry...&lt;/P&gt;&lt;P&gt;Would love to read comments from other members on this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 12:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753906#M268610</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-03T12:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: No zero on line chart</title>
      <link>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753907#M268611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many countries will you have ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If its low and static,&amp;nbsp; consider removing dimension as a country and adding multiple expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70401_Capture.PNG.png" style="width: 620px; height: 355px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 19:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753907#M268611</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-03T19:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: No zero on line chart</title>
      <link>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753908#M268612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take Country out of the dimension.&lt;/P&gt;&lt;P&gt;Create two Expressions.&lt;/P&gt;&lt;P&gt;sum( {$ &amp;lt; Country = {'THI'} &amp;gt; } Qty)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;sum( {$ &amp;lt; Country = {'IND'} &amp;gt; } Qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be aware that the lines overlap then though so you won't see both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 19:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753908#M268612</guid>
      <dc:creator>trey_bayne</dc:creator>
      <dc:date>2014-11-03T19:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: No zero on line chart</title>
      <link>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753909#M268613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you take the dimension Date and Country this works well also where is problem let me know&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bar.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70402_Bar.png" /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 20:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/No-zero-on-line-chart/m-p/753909#M268613</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-03T20:14:10Z</dc:date>
    </item>
  </channel>
</rss>

