<?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: Line Chart - Show Null Values as Zero in a Month Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Line-Chart-Show-Null-Values-as-Zero-in-a-Month-Dimension/m-p/649193#M1077128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try creating a Master Calendar to fill in the null dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/48693"&gt;Creating A Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also avoid nulls in non date fields by using IF(LEN(TRIM( [Field Name] )) = 0,0,[Field Name])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jul 2014 03:45:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-25T03:45:26Z</dc:date>
    <item>
      <title>Line Chart - Show Null Values as Zero in a Month Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-Show-Null-Values-as-Zero-in-a-Month-Dimension/m-p/649192#M1077127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a line chart like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="63102" alt="ZeroLineNothingSelected.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63102_ZeroLineNothingSelected.png" /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="text-decoration: underline;"&gt;X axis&lt;/SPAN&gt;: &lt;STRONG&gt;Month&lt;/STRONG&gt; dimension&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="text-decoration: underline;"&gt;Y axis&lt;/SPAN&gt;: &lt;STRONG&gt;Territory&lt;/STRONG&gt; for every &lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each line represents a specific Territory with a value for the months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that not all the months have a value. Some of them are null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is to show all months, whether they have a value or not, in the last case, I'd like to have a 0 for the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that I'd see all the months and the corresponding value for every territory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that line chart I'm using:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MONTH as a Dimension&lt;/LI&gt;&lt;LI&gt;TERRITORY as a Dimension&lt;/LI&gt;&lt;LI&gt;Expression&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT ({$&amp;lt;FLAG_Anomaly={"With Anomaly"}&amp;gt;} DISTINCT ACCT_ID_COUNT)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;COUNT ({$&amp;lt;FLAG_ANOMALY={"With Anomaly","No Anomaly"}&amp;gt;} DISTINCT ACCT_ID_COUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there are some months like January and February where the value is null...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how could I do that, to turn the value I get from the expression to 0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 03:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-Show-Null-Values-as-Zero-in-a-Month-Dimension/m-p/649192#M1077127</guid>
      <dc:creator />
      <dc:date>2014-07-25T03:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart - Show Null Values as Zero in a Month Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-Show-Null-Values-as-Zero-in-a-Month-Dimension/m-p/649193#M1077128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try creating a Master Calendar to fill in the null dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/48693"&gt;Creating A Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also avoid nulls in non date fields by using IF(LEN(TRIM( [Field Name] )) = 0,0,[Field Name])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 03:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-Show-Null-Values-as-Zero-in-a-Month-Dimension/m-p/649193#M1077128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-25T03:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart - Show Null Values as Zero in a Month Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-Show-Null-Values-as-Zero-in-a-Month-Dimension/m-p/649194#M1077129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Creating a master calender is the best way to deal with these presentations&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 04:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-Show-Null-Values-as-Zero-in-a-Month-Dimension/m-p/649194#M1077129</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-07-25T04:29:56Z</dc:date>
    </item>
  </channel>
</rss>

