<?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: Display Month Dimension Chart  (even when no data exists) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Display-Month-Dimension-Chart-even-when-no-data-exists/m-p/1568190#M41451</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;You can't show what is not existing.&lt;/P&gt;&lt;P&gt;You have to create dummy values for each month to have an existing value to show.&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;Dummy_datas:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;month(makedate(2019,rowno())) as Month,&lt;/P&gt;&lt;P&gt;'2019' as Year,&lt;/P&gt;&lt;P&gt;0 as Value&lt;/P&gt;&lt;P&gt;autogenerate (12);&amp;nbsp; &amp;nbsp; &amp;nbsp;// 12 lines for 12 months&lt;/P&gt;&lt;P&gt;left join distinct&amp;nbsp;&lt;/P&gt;&lt;P&gt;Item&amp;nbsp; &amp;nbsp; &amp;nbsp;// all Items in your data if you want to select&lt;/P&gt;&lt;P&gt;from your_table;&lt;/P&gt;&lt;P&gt;concatenate (your_table)&amp;nbsp; &amp;nbsp; &amp;nbsp; // add them to your existing datas&lt;/P&gt;&lt;P&gt;load * resident&amp;nbsp;Dummy_datas;&lt;/P&gt;&lt;P&gt;drop table&amp;nbsp;Dummy_datas;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2019 12:50:42 GMT</pubDate>
    <dc:creator>martinpohl</dc:creator>
    <dc:date>2019-04-11T12:50:42Z</dc:date>
    <item>
      <title>Display Month Dimension Chart  (even when no data exists)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Month-Dimension-Chart-even-when-no-data-exists/m-p/1568161#M41448</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;There are various posts relating to my question but thus far haven't been able to find a solution!&lt;BR /&gt;&lt;BR /&gt;I need to create a line/bar chart which has one measure and one dimension (the month)&lt;BR /&gt;I always want the chart to show a static 12 months (Jan-Dec) even when there is no actual data for a given month.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My data is organised as follows&lt;/P&gt;&lt;TABLE border="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item #1&lt;/TD&gt;&lt;TD&gt;928&lt;/TD&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item #2&lt;/TD&gt;&lt;TD&gt;562&lt;/TD&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item #3&lt;/TD&gt;&lt;TD&gt;22&lt;/TD&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;TD&gt;2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;item #4&lt;/TD&gt;&lt;TD&gt;881&lt;/TD&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;TD&gt;2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item #5&lt;/TD&gt;&lt;TD&gt;900&lt;/TD&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;TD&gt;2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item #6&lt;/TD&gt;&lt;TD&gt;101&lt;/TD&gt;&lt;TD&gt;Mar&lt;/TD&gt;&lt;TD&gt;2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Item #7&lt;/TD&gt;&lt;TD&gt;402&lt;/TD&gt;&lt;TD&gt;Mar&lt;/TD&gt;&lt;TD&gt;2019&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how is shows currently but I want to show full 12 months (even with no data)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikChart.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9977i3058404A67E82A47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikChart.PNG" alt="QlikChart.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any help much appreciated&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Month-Dimension-Chart-even-when-no-data-exists/m-p/1568161#M41448</guid>
      <dc:creator>sturmeyp</dc:creator>
      <dc:date>2019-04-11T11:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Display Month Dimension Chart  (even when no data exists)</title>
      <link>https://community.qlik.com/t5/App-Development/Display-Month-Dimension-Chart-even-when-no-data-exists/m-p/1568190#M41451</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;You can't show what is not existing.&lt;/P&gt;&lt;P&gt;You have to create dummy values for each month to have an existing value to show.&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;Dummy_datas:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;month(makedate(2019,rowno())) as Month,&lt;/P&gt;&lt;P&gt;'2019' as Year,&lt;/P&gt;&lt;P&gt;0 as Value&lt;/P&gt;&lt;P&gt;autogenerate (12);&amp;nbsp; &amp;nbsp; &amp;nbsp;// 12 lines for 12 months&lt;/P&gt;&lt;P&gt;left join distinct&amp;nbsp;&lt;/P&gt;&lt;P&gt;Item&amp;nbsp; &amp;nbsp; &amp;nbsp;// all Items in your data if you want to select&lt;/P&gt;&lt;P&gt;from your_table;&lt;/P&gt;&lt;P&gt;concatenate (your_table)&amp;nbsp; &amp;nbsp; &amp;nbsp; // add them to your existing datas&lt;/P&gt;&lt;P&gt;load * resident&amp;nbsp;Dummy_datas;&lt;/P&gt;&lt;P&gt;drop table&amp;nbsp;Dummy_datas;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 12:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-Month-Dimension-Chart-even-when-no-data-exists/m-p/1568190#M41451</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2019-04-11T12:50:42Z</dc:date>
    </item>
  </channel>
</rss>

