<?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: Range of month in a bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945015#M951944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/181686" title="https://community.qlikview.com/thread/181686"&gt;Last 12 months Line Graph | Qlik Community&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/167259"&gt;Last 12 months Expression&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/159002"&gt;Last 12 Months Sales&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2015 13:05:21 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-12-03T13:05:21Z</dc:date>
    <item>
      <title>Range of month in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945014#M951943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to make a bar chart to show the sales . First I'm trying to show the sales in the year, the dimension are the month ( from jan. to dec.). Now I'm trying to show the sales from jun. of the previous year (2014) to jun of the actually year (2015) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank very much!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 12:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945014#M951943</guid>
      <dc:creator>juagarti</dc:creator>
      <dc:date>2015-12-03T12:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Range of month in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945015#M951944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/181686" title="https://community.qlikview.com/thread/181686"&gt;Last 12 months Line Graph | Qlik Community&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/167259"&gt;Last 12 months Expression&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/159002"&gt;Last 12 Months Sales&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945015#M951944</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-12-03T13:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Range of month in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945016#M951945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at script create a numeric field, say &lt;STRONG&gt;MonthNumber &lt;/STRONG&gt;like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearField*12+month(DateField) as &lt;STRONG style="font-size: 13.3333px;"&gt;MonthNumber &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then &lt;STRONG&gt;take Month as a Dim&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and expression would be:&amp;nbsp; sum({&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;MonthNumber={'&amp;gt;=$(=max(&lt;STRONG style="font-size: 13.3333px;"&gt;MonthNumber)-12)&amp;lt;=$(=max(&lt;STRONG style="font-size: 13.3333px;"&gt;MonthNumber)'}&lt;/STRONG&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945016#M951945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T13:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Range of month in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945017#M951946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the expresion &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;fecha={"&amp;gt;=$(=date(addmonths(monthstart(today()),-18),'DD/MM/YYYY'))&amp;lt;=date(monthstart(today()),'DD/MM/YYYY')"}&amp;gt;}Ventas)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the chart show the data between june of 2014 to december of 2015 this is ok. The problem is that I'm create in the script a new two fields using fecha field (DD/MM/YYYY), year(fecha) and month(fecha) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need that when I select year 2015 for example, the chart show me dates between june of 2014 and december of 2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for another example, when I select year 2014 t&lt;SPAN style="font-size: 13.3333px;"&gt;he chart show me dates between june of 2013 and december of 2014.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I select year 2015 the chart show me only data of 2015 and not from june of 2014 to december of 2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me?&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, 03 Dec 2015 16:15:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945017#M951946</guid>
      <dc:creator>juagarti</dc:creator>
      <dc:date>2015-12-03T16:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Range of month in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945018#M951947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have AS of data in your system then you can extend solution suggested by &lt;A href="https://community.qlik.com/qlik-users/147249"&gt;balrajahlawat&lt;/A&gt;‌ by storing month number in variable. Variables will contain latest month number and it will get updated on selection will indeed will give you moving 12 months in chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 16:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945018#M951947</guid>
      <dc:creator>thakkarrahul01</dc:creator>
      <dc:date>2015-12-03T16:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Range of month in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945019#M951948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please create a variable storing a latest year month value and use that variable inside your set analysis condition to provide range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example VCurrentMonth stores your month than give range between VCurrentmonth &amp;amp; VCurrentmonth -12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be mindful that variable should get updated on selection of month year dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 18:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-of-month-in-a-bar-chart/m-p/945019#M951948</guid>
      <dc:creator>thakkarrahul01</dc:creator>
      <dc:date>2015-12-03T18:37:02Z</dc:date>
    </item>
  </channel>
</rss>

