<?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: Missing dimension values in bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419655#M1148802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks but I'm not sure about that. As I've tried to show in the table in my original post, the expression does return a real 0 (integer) for all months with no prio 1 records, not NULL or NO value. And as I also pointed out, even when I added 1 to all sums, two months (Apr, May) that then have an expression value of 1 do not appear in the chart.&lt;/P&gt;&lt;P&gt;Furthermore, the issue goes away when I change the calculated dimension from &lt;SPAN style="font-family: courier new,courier;"&gt;=IF(Year(Today(0)) = Year, MonthYear)&lt;/SPAN&gt; to just&amp;nbsp; &lt;SPAN style="font-family: courier new,courier;"&gt;=MonthYear&lt;/SPAN&gt;, so I guess it has more something to do with that, although I have no idea why.&lt;/P&gt;&lt;P&gt;I will try to create a sample application and upload it here later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 May 2013 06:57:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-30T06:57:51Z</dc:date>
    <item>
      <title>Missing dimension values in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419650#M1148797</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 have the following three tables&lt;/P&gt;&lt;P&gt;- Items, with fields like Number and Priority&lt;/P&gt;&lt;P&gt;- Dates, with fields Number, Date, IsCreatedOn, IsClosedOn (contains one entry for each day each item was open)&lt;/P&gt;&lt;P&gt;- MasterCalendar, with fields like Date and MonthYear (e.g. "June 2013")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a bar chart with the sum of priority 1 items for each month of the current year. There are very few such items in my database, currently there is only one in January 2013, while all other months since have none.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculated dimension is: &lt;SPAN style="font-family: courier new,courier;"&gt;'=IF(Year(Today(0)) = Year, MonthYear)'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The expression is: &lt;SPAN style="font-family: courier new,courier;"&gt;'Sum({$&amp;lt;Priority={1}&amp;gt;} IsCreatedOn)'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;'Show all values' (in Dimension tab) is enabled and 'Suppress Zero-values' (in Presenation tab) is disabled. No other options have been changed in the chart properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is a bar chart with only three dimension values: Jan 2013 (1), Feb 2013 (0), Mar 2013 (0), although my data includes items from April and May as well. When I change the dimension definition to only '&lt;SPAN style="font-family: courier new,courier;"&gt;=MonthYear&lt;/SPAN&gt;', I see all months up until December 2013, but also all months from the previous years, which I don't want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When putting in the formulas into a list box, it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="143" style="width: 347px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;MonthYear&lt;/TD&gt;&lt;TD&gt;Sum(...)&lt;/TD&gt;&lt;TD&gt;Year(Today())&lt;/TD&gt;&lt;TD&gt;Year&lt;/TD&gt;&lt;TD&gt;=IF(Year(Today(0)) = Year, MonthYear)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="231"&gt;Jan 2013&lt;/TD&gt;&lt;TD class="xl63" width="55"&gt;1&lt;/TD&gt;&lt;TD class="xl63" width="34"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="47"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="160"&gt;Jan 2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;Feb 2013&lt;/TD&gt;&lt;TD class="xl63"&gt;0&lt;/TD&gt;&lt;TD class="xl63"&gt;2013&lt;/TD&gt;&lt;TD class="xl63"&gt;2013&lt;/TD&gt;&lt;TD class="xl63"&gt;Feb 2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;Mar 2013&lt;/TD&gt;&lt;TD class="xl63"&gt;0&lt;/TD&gt;&lt;TD class="xl63"&gt;2013&lt;/TD&gt;&lt;TD class="xl63"&gt;2013&lt;/TD&gt;&lt;TD class="xl63"&gt;Mar 2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;Apr 2013&lt;/TD&gt;&lt;TD class="xl63"&gt;0&lt;/TD&gt;&lt;TD class="xl63"&gt;2013&lt;/TD&gt;&lt;TD class="xl63"&gt;2013&lt;/TD&gt;&lt;TD class="xl63"&gt;Apr 2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;May 2013&lt;/TD&gt;&lt;TD class="xl63"&gt;0&lt;/TD&gt;&lt;TD class="xl63"&gt;2013&lt;/TD&gt;&lt;TD class="xl63"&gt;2013&lt;/TD&gt;&lt;TD class="xl63"&gt;May 2013&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried some things and found that, even when I change the expression to '1 + Sum(...)'&amp;nbsp; the bar chart still shows only January (2), February (1) and March (1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please suggest why I get this strange result? Or even better, is there some way to always show all twelve Months of the current year in the Dimension, even those in the future for which no records exist yet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 11:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419650#M1148797</guid>
      <dc:creator />
      <dc:date>2013-05-29T11:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dimension values in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419651#M1148798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i went through your last para. for that you will get one check 'Supress Zero-Values' which is by default checked, you have to un-check that. Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 11:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419651#M1148798</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-05-29T11:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dimension values in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419652#M1148799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tesesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already did that, as written in the third paragraph &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; But even with that option disabled, it shows only some zero values (Feb and March) while others (April and May) are still seemingly suppressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 12:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419652#M1148799</guid>
      <dc:creator />
      <dc:date>2013-05-29T12:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dimension values in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419653#M1148800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in that case, it might be something like NULL value or NO Value issue. Can you please upload your sample application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 13:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419653#M1148800</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-05-29T13:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dimension values in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419654#M1148801</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;You have disabled tab "Presentation" option "Hide Missing"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 16:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419654#M1148801</guid>
      <dc:creator />
      <dc:date>2013-05-29T16:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dimension values in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419655#M1148802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks but I'm not sure about that. As I've tried to show in the table in my original post, the expression does return a real 0 (integer) for all months with no prio 1 records, not NULL or NO value. And as I also pointed out, even when I added 1 to all sums, two months (Apr, May) that then have an expression value of 1 do not appear in the chart.&lt;/P&gt;&lt;P&gt;Furthermore, the issue goes away when I change the calculated dimension from &lt;SPAN style="font-family: courier new,courier;"&gt;=IF(Year(Today(0)) = Year, MonthYear)&lt;/SPAN&gt; to just&amp;nbsp; &lt;SPAN style="font-family: courier new,courier;"&gt;=MonthYear&lt;/SPAN&gt;, so I guess it has more something to do with that, although I have no idea why.&lt;/P&gt;&lt;P&gt;I will try to create a sample application and upload it here later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 06:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419655#M1148802</guid>
      <dc:creator />
      <dc:date>2013-05-30T06:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dimension values in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419656#M1148803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rebeca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Yes, this option is disabled, but switching it on or off does not change anything. Please also see the response I just gave to tresesco's post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 07:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419656#M1148803</guid>
      <dc:creator />
      <dc:date>2013-05-30T07:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dimension values in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419657#M1148804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you been able to create the sample application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 07:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419657#M1148804</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-05-30T07:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dimension values in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419658#M1148805</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;Please find my sample application attached. Please click through the values of 'Area' and note the missing months when selecting 'EMEA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 09:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419658#M1148805</guid>
      <dc:creator />
      <dc:date>2013-05-30T09:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dimension values in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419659#M1148806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While you put : &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="color: #0000ff;"&gt;S&lt;A&gt;&lt;/A&gt;um( {$&amp;lt;Priority= {1}&amp;gt;IsCreatedOn}&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it filters out the months with other Priority from your dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead Use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum(if(Priority=1,IsCreatedOn))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 09:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419659#M1148806</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-05-30T09:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dimension values in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419660#M1148807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much. This has actually helped me understand much more about QV now. Up until now I thought the two expressions meant basically the same and I always used the first one for easier readability...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 10:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dimension-values-in-bar-chart/m-p/419660#M1148807</guid>
      <dc:creator />
      <dc:date>2013-05-30T10:24:18Z</dc:date>
    </item>
  </channel>
</rss>

