<?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: Issue with missing months in Canonical Calendar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-missing-months-in-Canonical-Calendar/m-p/1255412#M396781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use set analysis filters in the chart expressions rather than a calculated dimension. I also add a month sequence number to my calendars which makes this type of analysis much simpler:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the field something like this in your calendar load:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; (Year(tmpDate) - 2000) * 12 + Month(tmpDate) as MonthSequence,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this in your expressions with Month as a dimension:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;MonthSequence = {"&amp;gt;=$(=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Max(MonthSequence) - 12&lt;/SPAN&gt;)"}&amp;gt;} Value)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turn off suppress zero values to see the 0 value months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Nov 2016 06:08:41 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2016-11-16T06:08:41Z</dc:date>
    <item>
      <title>Issue with missing months in Canonical Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-missing-months-in-Canonical-Calendar/m-p/1255411#M396780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Canonical Calendar in my script and need to show only last 12 months . The graph shows missing months when plotted as is but i need to display the graph for only last 12 months. When I try to show last 12 months then the months where there is a blank value is not shown in the graph and is skipped.&lt;/P&gt;&lt;P&gt;I have used the below in the Dimensions.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;monthname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),-14)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Can anybody please help as to what is going wrong in my chart?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 04:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-missing-months-in-Canonical-Calendar/m-p/1255411#M396780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-16T04:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with missing months in Canonical Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-missing-months-in-Canonical-Calendar/m-p/1255412#M396781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use set analysis filters in the chart expressions rather than a calculated dimension. I also add a month sequence number to my calendars which makes this type of analysis much simpler:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the field something like this in your calendar load:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; (Year(tmpDate) - 2000) * 12 + Month(tmpDate) as MonthSequence,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this in your expressions with Month as a dimension:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;MonthSequence = {"&amp;gt;=$(=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Max(MonthSequence) - 12&lt;/SPAN&gt;)"}&amp;gt;} Value)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turn off suppress zero values to see the 0 value months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 06:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-missing-months-in-Canonical-Calendar/m-p/1255412#M396781</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-11-16T06:08:41Z</dc:date>
    </item>
  </channel>
</rss>

