<?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 Exclude the current month from a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232822#M84401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found a solution (even if it might not be very orthodox). I have added this line to the Script:&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;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;WHERE&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H3&gt;&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it works.&lt;/P&gt;&lt;P&gt;Thanks guys for your help!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; DateKey &amp;lt; MonthStart(today()); &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Oct 2010 15:08:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-13T15:08:25Z</dc:date>
    <item>
      <title>Exclude the current month from a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232813#M84392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All&lt;/P&gt;&lt;P&gt;I am stuck! I am trying to get rid of the current month from a chart. I have checked the documentation and the posted answers but I am not able to solve the problem. I need your help!&lt;/P&gt;&lt;P&gt;Please find below the chart I am talking about:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2542_sourceID:2542" /&gt;&lt;/P&gt;&lt;P&gt;In October 2010 for example, the line goes down to zero, because there is little activity. How can I exclude October and have only the last full month (in this case September 2010)?&lt;/P&gt;&lt;P&gt;I am looking forward to hearing from you. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 16:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232813#M84392</guid>
      <dc:creator />
      <dc:date>2010-10-08T16:25:43Z</dc:date>
    </item>
    <item>
      <title>Exclude the current month from a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232814#M84393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try somthing like sum({$&amp;lt;MonthYear -= {"=MonthYear=monthname(today())"}&amp;gt;} Sales) or an if like this sum(if(MonthYear&amp;lt;&amp;gt;monthname(today()),Sales))&lt;/P&gt;&lt;P&gt;The graph by default should suppress 0 and null values.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 16:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232814#M84393</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-08T16:38:06Z</dc:date>
    </item>
    <item>
      <title>Exclude the current month from a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232815#M84394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Karl&lt;/P&gt;&lt;P&gt;I have tried to use your expression, but &lt;STRONG&gt;Month Name&lt;/STRONG&gt; is for me a dimension and not an expression. In the chart expression I use &lt;STRONG&gt;Count(APCKey).&lt;/STRONG&gt; Sorry, but it does not seem to be working (I have also tried to use it as a calculated dimension, receiving an error).&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 17:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232815#M84394</guid>
      <dc:creator />
      <dc:date>2010-10-08T17:09:35Z</dc:date>
    </item>
    <item>
      <title>Exclude the current month from a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232816#M84395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression please:&lt;/P&gt;&lt;P&gt;Count(if [Month Name] &amp;lt;&amp;gt; date(today(), 'MMM YY'), APCKey)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this works.&lt;/P&gt;&lt;P&gt;If not please post a copy with that chart - so that I can take a look at it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 17:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232816#M84395</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-10-08T17:13:55Z</dc:date>
    </item>
    <item>
      <title>Exclude the current month from a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232817#M84396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I'm trying to do is compare the dimension with the value of today() to tell QlikView if it should calculate the expression or no. So it is ok to use the dimension in the expression. If it doesn't work it is problably due to the fact that the dimension doesn't match the format that the function monthname returns which is what Rocky is suggesting.&lt;/P&gt;&lt;P&gt;Try to upload the file or at least copy and paste the dimensions, expressions for the graph and how they are generated in the script.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 17:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232817#M84396</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-08T17:38:13Z</dc:date>
    </item>
    <item>
      <title>Exclude the current month from a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232818#M84397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rocky&lt;/P&gt;&lt;P&gt;Sorry, I have tried your expression, but it still does not work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below copy of the script:&lt;/P&gt;&lt;P&gt;&lt;I&gt;IP_FACTPAS:&lt;/I&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;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;*;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;B&gt;SELECT&lt;/B&gt; APCKey, DateKey &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;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;FROM&lt;/B&gt; tableName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;DateKey &amp;gt; '31 Mar 2008';&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Store&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;IP_FACTPAS &lt;B&gt;into&lt;/B&gt; location &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;DROP&lt;/B&gt; &lt;B&gt;TABLE&lt;/B&gt; &lt;I&gt;IP_FACTPAS;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Basically, I would like to be able to obtain something which I can obtain (in SQL) adding the piece of code :&lt;STRONG&gt;and DateKey &amp;lt; 01 Oct 2010'&lt;/STRONG&gt; after&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DateKey&lt;/STRONG&gt; &amp;gt; '31 Mar 2008'.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I hope this makes sense. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 17:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232818#M84397</guid>
      <dc:creator />
      <dc:date>2010-10-11T17:17:00Z</dc:date>
    </item>
    <item>
      <title>Exclude the current month from a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232819#M84398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding 2 Y's because you have a year with 4 digits and not 2.&lt;/P&gt;&lt;P&gt;Count(if [Month Name] &amp;lt;&amp;gt; date(today(), 'MMM YYYY'), APCKey)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 17:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232819#M84398</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-11T17:38:27Z</dc:date>
    </item>
    <item>
      <title>Exclude the current month from a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232820#M84399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Karl&lt;/P&gt;&lt;P&gt;I have tried every permutation of the above expression, without success. Thank you anyway.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 12:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232820#M84399</guid>
      <dc:creator />
      <dc:date>2010-10-12T12:00:31Z</dc:date>
    </item>
    <item>
      <title>Exclude the current month from a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232821#M84400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not good. There must be something that we're not contemplating. If you want us to look at it more, try to upload a QV app with the specific example of the graph.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 17:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232821#M84400</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-12T17:20:50Z</dc:date>
    </item>
    <item>
      <title>Exclude the current month from a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232822#M84401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found a solution (even if it might not be very orthodox). I have added this line to the Script:&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;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;WHERE&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H3&gt;&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it works.&lt;/P&gt;&lt;P&gt;Thanks guys for your help!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; DateKey &amp;lt; MonthStart(today()); &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 15:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-the-current-month-from-a-chart/m-p/232822#M84401</guid>
      <dc:creator />
      <dc:date>2010-10-13T15:08:25Z</dc:date>
    </item>
  </channel>
</rss>

