<?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 Bar Chart + Null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Null/m-p/1541988#M745236</link>
    <description>&lt;P&gt;In a bar chart i have to select data from 2 feilds namely year and month. but if i select year 2019 and month december (this search doesnt have any value), the chart will show the value for all decmeber cases in theprevious months. How to avoid this?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>tenyeapen</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Bar Chart + Null</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Null/m-p/1541988#M745236</link>
      <description>&lt;P&gt;In a bar chart i have to select data from 2 feilds namely year and month. but if i select year 2019 and month december (this search doesnt have any value), the chart will show the value for all decmeber cases in theprevious months. How to avoid this?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Null/m-p/1541988#M745236</guid>
      <dc:creator>tenyeapen</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart + Null</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Null/m-p/1542003#M745237</link>
      <description>&lt;P&gt;Hi, maybe there is no row with year 2019 and month dec, if you select 2019 and december has a grey background that means that there is no relation between those fields values, so Qlik removes one (or many) selections to allow you to select month december.&lt;/P&gt;&lt;P&gt;Maybe cerating a maester calendar so at least there is a relation between 2019 and december, one.&lt;/P&gt;&lt;P&gt;Here is one way of doing it:&lt;/P&gt;&lt;PRE&gt;Calendar:&lt;BR /&gt;LOAD &lt;BR /&gt; IdDate as IdDate,&lt;BR /&gt; Date(IdDate) as Date,&lt;BR /&gt; Month(IdDate) as Month,&lt;BR /&gt; Year(IdDate) as Year&lt;BR /&gt;;&lt;BR /&gt;LOAD &lt;BR /&gt; AddMonths(MinDate, IterNo()-1) as IdDate&lt;BR /&gt;While AddMonths(MinDate, IterNo()-1) &amp;lt;= MaxDate&lt;BR /&gt;;&lt;BR /&gt;LOAD &lt;BR /&gt; YearStart(Min(FieldValue('IdDate', RecNo()))) as MinDate,&lt;BR /&gt; Floor(YearEnd(Max(FieldValue('IdDate', RecNo())))) as MaxDate&lt;BR /&gt;AutoGenerate FieldValueCount('IdDate')&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;// change IdDate to your current date field, you can create one using "Makedate(YearField, MonthField) as IdDate"&lt;/PRE&gt;</description>
      <pubDate>Sun, 10 Feb 2019 11:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Null/m-p/1542003#M745237</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-02-10T11:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart + Null</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Null/m-p/1542011#M745238</link>
      <description>&lt;P&gt;It didn't went correctly.. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Feb 2019 11:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Null/m-p/1542011#M745238</guid>
      <dc:creator>tenyeapen</dc:creator>
      <dc:date>2019-02-10T11:57:03Z</dc:date>
    </item>
  </channel>
</rss>

