<?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: How do I Limit the months displayed in a graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-Limit-the-months-displayed-in-a-graph/m-p/481344#M179876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your script write this code&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Year(date(datefield)) as year&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;num(month(date(datefield))) as monthnum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;month(date(datefield)) as month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;take a coditional Dimension like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(year=2013 and monthnum&amp;gt;=1 and monthnum&amp;lt;=5,month)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jun 2013 08:31:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-18T08:31:44Z</dc:date>
    <item>
      <title>How do I Limit the months displayed in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-Limit-the-months-displayed-in-a-graph/m-p/481343#M179875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;I was wondering if someone could help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a graph which displays sales for the previous year (2012) in one bar, and sales for the current year (2013) in another bar. The two bars are side by side.&lt;/P&gt;&lt;P&gt;The dimension for the graph is 'month'. The graph displays the months Jan to Dec. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to limit the graph so that it only displays the 2013 months that have sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(ie) I want the graph to display Jan - May only. &lt;/P&gt;&lt;P&gt;Dose anyone know how I limit this in the expression of the graph?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an example in the attachment which displays the grah, and I would like to know how to get it only to display Jan - May,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really appriciate some help with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 08:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-Limit-the-months-displayed-in-a-graph/m-p/481343#M179875</guid>
      <dc:creator />
      <dc:date>2013-06-18T08:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Limit the months displayed in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-Limit-the-months-displayed-in-a-graph/m-p/481344#M179876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your script write this code&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Year(date(datefield)) as year&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;num(month(date(datefield))) as monthnum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;month(date(datefield)) as month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;take a coditional Dimension like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(year=2013 and monthnum&amp;gt;=1 and monthnum&amp;lt;=5,month)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 08:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-Limit-the-months-displayed-in-a-graph/m-p/481344#M179876</guid>
      <dc:creator />
      <dc:date>2013-06-18T08:31:44Z</dc:date>
    </item>
  </channel>
</rss>

