<?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: Last 6 months data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230668#M392171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luiz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delighted it worked. Took me ages to get that working also.&lt;/P&gt;&lt;P&gt;Please mark as correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2017 09:02:52 GMT</pubDate>
    <dc:creator>bobbydave</dc:creator>
    <dc:date>2017-01-05T09:02:52Z</dc:date>
    <item>
      <title>Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230655#M392158</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;&lt;/P&gt;&lt;P&gt;I have a requirement where I need to calculate average of last 6 months sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp; If we are in December we need to calculate average from June to November..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Jan,&amp;nbsp; from July to Dec and so on.&amp;nbsp;&amp;nbsp;&amp;nbsp; Kindly help to achieve this possibility&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan Gala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 10:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230655#M392158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-23T10:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230656#M392159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chintan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Rangesum function&amp;nbsp; like rangesum(sum(sales),0,6) where as Month is your dimension .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veera&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 10:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230656#M392159</guid>
      <dc:creator>veeranj</dc:creator>
      <dc:date>2016-12-23T10:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230657#M392160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use rangeavg() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 10:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230657#M392160</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-12-23T10:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230658#M392161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or is it better to show running average by taking last 180 days from today?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan Gala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 11:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230658#M392161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-23T11:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230659#M392162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not necessary 6 months = 180 days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 11:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230659#M392162</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-12-23T11:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230660#M392163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where are you trying to show this info Textbox? Straight Table (Rolling Average) ? or script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;create a YearMonth field in your data table to simplify the calculations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;example: 201601,201602 and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and vStartYearMonth = &lt;STRONG&gt;NUM(year(Today())) &amp;amp; NUM(month(Today()),'00')&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;and vEndYearMonth = Addmonths( Date($(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vStartYearMonth),'YYYYMM'),-6)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Just ensure your Month variables are '00'&amp;nbsp; format meaning Jan is '01' and not '1'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You expression should then be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM ( {&amp;lt; YearMonth = {"&amp;gt;=$(vStartYearMonth)&amp;lt;$(vEndYearMonth)"} &amp;gt;} Sales)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;with YearMonth you will be compare months over different year example 201611 to 201704&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 12:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230660#M392163</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-23T12:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230661#M392164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vineeth. I will try the same and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do this in front end, probably pivot table or straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan Gala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 05:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230661#M392164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-03T05:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230662#M392165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vineeth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The vEndYearMonth&amp;nbsp;&amp;nbsp; variable is not giving 6 month previous YearMonth.&amp;nbsp; It gives a junk date as 26-09-2654 something. Can you please suggest if any modification is required?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan Gala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 10:02:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230662#M392165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-03T10:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230663#M392166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chintan, It is always better to create a numeric value(extra column) for each month for whole master calendar. for example month,year,id This id has a numeric value. Month_numeric: Load Distinct&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rowno()+100 as Mon_num resident MasterCalendar Join the above with Master Calendar. SUM ( {&amp;lt; Month = {"=$(=Max(Mon_num)-7)"} &amp;gt;} Sales) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 11:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230663#M392166</guid>
      <dc:creator>parimikittu</dc:creator>
      <dc:date>2017-01-03T11:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230664#M392167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I will try the same and let u know if I am able to achieve the required result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan Gala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 12:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230664#M392167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-03T12:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230665#M392168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit; font-size: 13.33px; font-style: inherit; font-weight: inherit;"&gt;and vEndYearMonth = &lt;/SPAN&gt;&lt;SPAN style="color: #ff6600; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;STRONG&gt;Date(Addmonths( Date(&lt;SPAN style="font-size: 13.33px;"&gt;$(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vStartYearMonth))&lt;/SPAN&gt;,-6),'YYYYMM')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 13:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230665#M392168</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-03T13:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230666#M392169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same issue only a few weeks back with an application i was working on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Date#([TheYear Month]), 'YYYY-MM')&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, 'YYYY-MM')&lt;/SPAN&gt; as &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[The Year Month]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({$&amp;lt;[The Year Month] = {"&amp;gt;=$(=Date(AddMonths(Max(Today()),-6), 'YYYY-MM'))&amp;lt;=$(=Date(AddMonths(Max(Today()),-1), 'YYYY-MM'))"}&amp;gt;} [Your Value to Measure])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The expression will always calcalate the date between the last 6 months and last month always so for this month, you will get Dec last month and 6 months previous. Next Month, you will get Jan and 6 months previous. Make sure to declare [The Year Month] in your load script.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 14:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230666#M392169</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2017-01-03T14:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230667#M392170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What worked for me was a little different but very similar. The main thing that I changed was to replace the [The Year Month] dimension to the actual [Date] dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Added to load script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;LOAD Date&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;(&lt;EM&gt;[Date]&lt;/EM&gt;), 'YYYY-MM')&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,&lt;/SPAN&gt; as &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[The Year Month]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Calculation expression in app:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Avg({$&amp;lt;[The Year Month]={"&amp;gt;$(=Date(AddMonths(Today(),-6),'YYYY-MM'))&amp;lt;=$(=Date(AddMonths(Today(),-1),'YYYY-MM'))"}&amp;gt;}[Your Value to Measure])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It is working and calculating previous 6 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LD&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 15:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230667#M392170</guid>
      <dc:creator>luizcdepaula</dc:creator>
      <dc:date>2017-01-04T15:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230668#M392171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luiz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delighted it worked. Took me ages to get that working also.&lt;/P&gt;&lt;P&gt;Please mark as correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 09:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230668#M392171</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2017-01-05T09:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230669#M392172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luiz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you are using today()-6 ,&amp;nbsp; I guess it will go to previous 6 months from today. This would not work if we select any previous month as filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan Gala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 12:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230669#M392172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-05T12:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230670#M392173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chintan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would have to add an IF condition then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If( (GetSelectedCount (MonthYear) = 0 and GetSelectedCount (Year) = 0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({$&amp;lt;[The Year Month] = {"&amp;gt;=$(=Date(AddMonths(Today(),-6), 'YYYY-MM'))&amp;lt;$(=Date(AddMonths(Today(),0), 'YYYY-MM'))"}&amp;gt;} [Your Value to Measure]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg([Your Value to Measure]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This expression will give you either last 6 finished full months if no date as to MonthYear or Year is selected, or the AVG of whatever months you select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If( (GetSelectedCount (MonthYear) = 0 and GetSelectedCount (Year) = 0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({ $ &amp;lt;[The Year Month] = {"&amp;gt;=$(=Date(AddMonths(Today(),-6), 'YYYY-MM'))&amp;lt;$(=Date(AddMonths(Today(),0), 'YYYY-MM'))"}&amp;gt;} [Your Value to Measure]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({ 1 &amp;lt;[The Year Month] = {"&amp;gt;=$(=Date(AddMonths(Max(Date),-6), 'YYYY-MM'))&amp;lt;$(=Date(AddMonths(Max(Date),0), 'YYYY-MM'))"}&amp;gt;} [Your Value to Measure]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression will give you either last 6 finished full months if no date as to MonthYear or Year is selected, or the AVG of last 6 months from the MonthYear you select. Make sure you use 1 instead of $ on the second part of the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 14:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230670#M392173</guid>
      <dc:creator>luizcdepaula</dc:creator>
      <dc:date>2017-01-05T14:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230671#M392174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vineeth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to create the previous 6 months from &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.33px; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;vEndYearMonth = &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f2f2f2; color: #ff6600;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Date(Addmonths( Date(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.33px; font-family: inherit;"&gt;$(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;vStartYearMonth)).&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;,-6),'YYYYMM')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Is there any other way around?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Chintan&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 10:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230671#M392174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T10:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230672#M392175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f2f2f2; color: #ff6600;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Date(Addmonths( Date(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.33px; font-family: inherit;"&gt;$(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;vStartYearMonth),'YYYYMM')&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 12px; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;,-6),'YYYYMM')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 12px; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 12px; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;There was a full stop before comma&amp;nbsp; .,&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 12:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230672#M392175</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-10T12:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230673#M392176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg({$&amp;lt;Date={"&amp;lt;$(=MonthEnd(AddMonths(Max(Date),-1))&amp;gt;$(=MonthStart(AddMonths(&lt;SPAN style="font-size: 13.3333px;"&gt;MonthEnd(AddMonths(Max(Date),-1))&lt;/SPAN&gt;, -6)))"}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 14:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230673#M392176</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2017-01-10T14:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 months data</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230674#M392177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It shows expression OK,&amp;nbsp; but later shows error as ')'&amp;nbsp; expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 05:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-months-data/m-p/1230674#M392177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-11T05:31:26Z</dc:date>
    </item>
  </channel>
</rss>

