<?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: How to display 0 when there is no record in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406710#M151283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nilesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Supress Zero Values is unchecked in my above case. Because there is no record in other months, the sales is not calculated as 0 with expression SUM(Sales), instead there is no value at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Apr 2013 01:12:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-28T01:12:52Z</dc:date>
    <item>
      <title>How to display 0 when there is no record</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406707#M151280</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;I create a straight table to show the sales of each month, dimension is from April to September, expression is SUM(Sales). The source data is&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Customer&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;cust1&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;4/10/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;cust1&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;5/1/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;cust2&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;4/20/2013&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Now the straight table can only show April and May and the correspinding sales, I want other months to display as well with sales 0, how can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Apr 2013 09:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406707#M151280</guid>
      <dc:creator />
      <dc:date>2013-04-27T09:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to display 0 when there is no record</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406708#M151281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiii &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/julialiu" id="jive-10990420457229728359679" style="background-color: #ffffff; font-size: 12px; color: #007fc0; text-decoration: initial; font-weight: bold; font-family: Arial; text-align: center;"&gt;julialiu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the presentation tab =&amp;gt; UnCheck&amp;nbsp; Supress Zero Values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get all data including Zero sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Apr 2013 15:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406708#M151281</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2013-04-27T15:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to display 0 when there is no record</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406709#M151282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Julialiu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unchecking supress zero values is not going to work because these dates proberbly don't have any record, so not even a 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/docs/DOC-3786" title="http://community.qlik.com/docs/DOC-3786"&gt;http://community.qlik.com/docs/DOC-3786&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Apr 2013 22:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406709#M151282</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2013-04-27T22:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to display 0 when there is no record</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406710#M151283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nilesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Supress Zero Values is unchecked in my above case. Because there is no record in other months, the sales is not calculated as 0 with expression SUM(Sales), instead there is no value at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Apr 2013 01:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406710#M151283</guid>
      <dc:creator />
      <dc:date>2013-04-28T01:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to display 0 when there is no record</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406711#M151284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/julialiu" id="jive-10990420521327821927586" style="background-color: #ffffff; font-size: 12px; color: #007fc0; text-decoration: initial; font-weight: bold; font-family: Arial; text-align: center;"&gt;julialiu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ohhkk you can add sales as 0 or Null at load time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that your script will be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;Customer,&lt;/P&gt;&lt;P&gt;Sales,&lt;/P&gt;&lt;P&gt;if(isnull(Sales) or Sales = '' or len(Sales) = 0,0,Sales) as SalesField,&lt;/P&gt;&lt;P&gt;Date &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Source;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can replace the 0 with null() for null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can uncheck the "Suppress when value is null" in the Dimension Tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Apr 2013 09:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406711#M151284</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2013-04-28T09:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to display 0 when there is no record</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406712#M151285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Amien, the doc is very helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 08:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406712#M151285</guid>
      <dc:creator />
      <dc:date>2013-05-02T08:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to display 0 when there is no record</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406713#M151286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nilesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, I did it by Join the Calendar table and the Source table, and give some value to the NULL field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And just FYI, uncheck "Suppress when value is null" will not do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 08:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406713#M151286</guid>
      <dc:creator />
      <dc:date>2013-05-02T08:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to display 0 when there is no record</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406714#M151287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your expression write this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Sales=' ', '0',Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 08:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406714#M151287</guid>
      <dc:creator />
      <dc:date>2013-05-02T08:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to display 0 when there is no record</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406715#M151288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 09:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406715#M151288</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-05-02T09:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to display 0 when there is no record</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406716#M151289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;if(isnull(Sales)&amp;lt;&amp;gt;0,Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 11:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-0-when-there-is-no-record/m-p/406716#M151289</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-05-02T11:16:03Z</dc:date>
    </item>
  </channel>
</rss>

