<?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: Show rolling 12 Months only for last 12 months. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721745#M259127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to respond to myself with an additional question / clarification. Many times I have run into a problem where I have problems with formulas that include dates, because of the format. Is there a function that you can reference the last selection, rather than max(selection), in the event that the data is not a number? Or can you reference 12 selections up or down, rather than Date - 12 or addmonths(), etc.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if a user selects 2010-2012, then I want to reference the last selected (2012) + 12 above that. I need a function that ignores whether it is a number or a string, or format entirely, and looks 12 spaces up in the data -- if that makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2014 12:59:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-30T12:59:41Z</dc:date>
    <item>
      <title>Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721741#M259123</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 asked this question earlier and thought I solved it, but it is not working now. I need to sort the legend (brand) of my line chart by highest Units sold for the last selected date. E.g. if 2010-2012 were selected, then sort by 2012 unit sales. (In this case, however, it is a rolling 12 Months share. So if the years 2010-2014 were selected, then it would&amp;nbsp; calculate rolling 12 month for the range: October 2013 : September 2014. September 2014 being the current month.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under the sort tab, for calculated expressions, I have tried several different things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;RangeSum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Above&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Year&lt;/SPAN&gt;&amp;gt;} {&amp;lt;&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt; = {'$(=Max(Date))'} &amp;gt;}&lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;),0,12)), &lt;SPAN style="color: #999999;"&gt;$(v_sortSelected)&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;For my first attempt, I added &lt;STRONG&gt;{&amp;lt;Date = {'$(=Max(Date))'}&amp;gt;}&amp;nbsp; &lt;/STRONG&gt;to try and limit my rolling 12 months only to the last 12 months. This resulted in limiting my result to only the last month. So I tried a few ways to capture the date range:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;RangeSum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Above&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Year&lt;/SPAN&gt;&amp;gt;} {&amp;lt;&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt; = {&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=$(=Max(Date) - 11)&amp;lt;=$(=Max(Date))"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;),0,12)), &lt;SPAN style="color: #999999;"&gt;$(v_sortSelected)&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt; = {&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=$(Addmonths(Max(Date),-12))&lt;SPAN style="color: #800000;"&gt;&amp;lt;=$(=Max(Date))&lt;/SPAN&gt;"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;),0,12)), &lt;SPAN style="color: #999999;"&gt;$(v_sortSelected)&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt; = {&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=$(Above(Max(Date),0,12))&lt;SPAN style="color: #800000;"&gt;&amp;lt;=$(=Max(Date))&lt;/SPAN&gt;"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;),0,12)), &lt;SPAN style="color: #999999;"&gt;$(v_sortSelected)&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Nothing worked. I assume it has something to do with my date format, which was uploaded as: Date(MakeDate(Year(Date#(YEAR,'YYYY')),Month(Date#(MONTH,'MMM'))), 'MMM YYYY') as Date&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Are there any solutions to this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 20:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721741#M259123</guid>
      <dc:creator />
      <dc:date>2014-09-29T20:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721742#M259124</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;if you have date in your dimensions, sometimes I use "if" to show the dates that I whant. Check box to don't show null values in dimensions.&amp;nbsp; I know that is not good about performance, but for small data.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&amp;nbsp;&amp;nbsp;&amp;nbsp; If(field_date &amp;gt;= var,field_date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alessandro Furtado&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 22:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721742#M259124</guid>
      <dc:creator>afurtado</dc:creator>
      <dc:date>2014-09-29T22:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721743#M259125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alessandro, thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I write that into my expression? The field_date is a variable, where the user could potentional select anything from 1990 to current, or all of the above. If they selected 1995-2013, then I would need rolling 12 monts for Jan 2013 to Dec 2013, the last selected date. I guess I am not sure what variable I would make field_date &amp;gt;= to, although maybe I am not thinking about it right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, are if statements in general bad for performance? My expression actually already include 6 if statements based on variable. For example, if &lt;EM&gt;vExample &lt;/EM&gt;= 1, then the [equation posted above], if &lt;EM&gt;vExample &lt;/EM&gt;= 2, then [second equation], etc... I did this so that with a button press you can change from annual to quarter to monthly, and rolling 12 month, etc., all on the same chart, rather than managing six seperate charts. Basically, all dimensions are variables and the expression contains 6 if statements to switch to different calculations depending on which button you press.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 12:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721743#M259125</guid>
      <dc:creator />
      <dc:date>2014-09-30T12:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721744#M259126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abraham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to take a look at this example on using Set Analysis for creating periods:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4321"&gt;QlikView App: Simple Year To Date Example (Set Analysis)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also a blog post I created about creating extra dimensions to allow for rolling periods, this can be a particularly useful technique:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/qlikview-accumulate-values/" title="http://www.quickintelligence.co.uk/qlikview-accumulate-values/"&gt;http://www.quickintelligence.co.uk/qlikview-accumulate-values/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also an example QlikView app associated with that post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 12:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721744#M259126</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-09-30T12:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721745#M259127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to respond to myself with an additional question / clarification. Many times I have run into a problem where I have problems with formulas that include dates, because of the format. Is there a function that you can reference the last selection, rather than max(selection), in the event that the data is not a number? Or can you reference 12 selections up or down, rather than Date - 12 or addmonths(), etc.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if a user selects 2010-2012, then I want to reference the last selected (2012) + 12 above that. I need a function that ignores whether it is a number or a string, or format entirely, and looks 12 spaces up in the data -- if that makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 12:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721745#M259127</guid>
      <dc:creator />
      <dc:date>2014-09-30T12:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721746#M259128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Steve, I will read through it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 13:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721746#M259128</guid>
      <dc:creator />
      <dc:date>2014-09-30T13:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721747#M259129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The formats of dates can be a problem, particularly when inserting into Set Analysis.&amp;nbsp; You will see how this is handled in my example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short, if you format the value to match the format in the underlying data model you should be okay, eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable &lt;STRONG&gt;vMaxDate&lt;/STRONG&gt;, with the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(Max(MyDate), 'DD MMM YYYY')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use this in Set Analysis like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;MyDate={'$(vMaxDate)'}&amp;gt;}MyValue)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By moving the derivation of the date into a variable and formatting it you are both keeping your code clean and ensuring a format match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually with a bit of fiddling and find tuning you can get to what you need.&amp;nbsp; Worst case scenario you can carry fields, such as month, both as Dual and Numeric versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 13:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721747#M259129</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-09-30T13:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721748#M259130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating some variables, but even when making the date format YYYY-MM-DD, AddMonths() does not seem to do anything. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vMaxDate:&lt;/STRONG&gt; =&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), 'YYYY-MM-DD') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vMaxDate12: &lt;/STRONG&gt;=&lt;SPAN style="font-size: 8pt;"&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;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), 'YYYY-MM-DD'),-12) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Then: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(vMaxDate12)&amp;lt;=$(MaxDate)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Units&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0,12)), &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vCompanyBrand)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&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: 10pt;"&gt;Shouldn't that give me what I need? Rolling 12 months &lt;EM&gt;only&lt;/EM&gt; for the last 12 months selected?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;The expression below&lt;/SPAN&gt; this sentence works for rolling 12 months -- I am having trouble understanding why the one above does not limit it to the dates I need. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Units&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0,12)), &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt;$(vCompanyBrand&lt;/SPAN&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 14:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721748#M259130</guid>
      <dc:creator />
      <dc:date>2014-09-30T14:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721749#M259131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abraham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If those variable names are correct, and you have copied and pasted the expression, it looks like you have missed a prefix on the MaxDate variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have &lt;STRONG&gt;&amp;lt;=$(MaxDate)&lt;/STRONG&gt; where it should be &lt;STRONG&gt;&amp;lt;=$(vMaxDate)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, where you have the &lt;STRONG&gt;AddMonths&lt;/STRONG&gt; function in the variable, I would put the &lt;STRONG&gt;Date &lt;/STRONG&gt;function around the outside, as it is possible that AddMonths strips the formatting off again, so it would read:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(AddMonths(Max(Date), -12), 'YYYY-MM-DD')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully one (or both) of those things will fix the issue you are having.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 14:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721749#M259131</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-09-30T14:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721750#M259132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I made the corrections, but it still does not work. I am testing it out on a pivot table and the rows have "-". I am guessing the error is specific to the addmonths() function, because Max(Date) works. I cannot figure out how to go 12 months previous though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 14:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721750#M259132</guid>
      <dc:creator />
      <dc:date>2014-09-30T14:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721751#M259133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abraham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what the &lt;STRONG&gt;{$&amp;lt;Year&amp;gt;}&lt;/STRONG&gt; is doing in your code, this would appear to have no bearing on things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breaking things out into smaller chunks can help with validation.&amp;nbsp; For instance, do a column where the date is greater than the 12 month back date and another column which is less than the greatest date.&amp;nbsp; When you check the parts out you can then start to put them together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the values in the variables (text boxes are good for this) to ensure they are what you expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the aggregation in the data model (eg. creating 12 months associated with each month) as advocated in my &lt;A href="http://http//www.quickintelligence.co.uk/qlikview-accumulate-values/"&gt;blog post &lt;/A&gt;makes things a lot simpler.&amp;nbsp; Rather than doing the RangeSum , Aggr and Above you simply change the dimension and everything else works itself out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 16:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721751#M259133</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-09-30T16:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721752#M259134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks for the suggestion Steve, using text boxes to test actually helped me solve it. All I did was add an equals sign at the after this: &lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt; = {&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=$(&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt; = {&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=$(&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;Date(AddMonths(Max(Date),-11), 'MMM YYYY'))"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;)&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I got the variables to work using the text box test. In this case they worked when I deleted the preceeding equals sign: (I don't understand why.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;vMaxDate - Before:&amp;nbsp; &lt;/STRONG&gt;=Date(Max(Date), 'MMM YYYY')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;vMaxDate - After:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;Date(Max(Date), 'MMM YYYY')&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;vMaxDate12 - Before: &lt;/STRONG&gt;=Date(AddMonths(Max(Date),-11), 'MMM YYYY')&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;vMaxDate12 - After:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;Date(AddMonths(Max(Date),-11), 'MMM YYYY')&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;However, I still have no idea how to write that in an expression. I tried what's written below and a few other ways, but I could not get it to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt; = {&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=$(vMaxDate12)"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Side note: I had {$&amp;lt;Year&amp;gt;} in my equation, because originally I had wanted rolling 12 months where if you highlighted 2007-2012, it would still calculate rolling 12 months for 2007 based on 2006 data, even though it was not selected. You are right though, it is not relevant for what I am trying to do now. Thanks for pointing it out. I think taking the slower approach and testing each part is a much better strategy. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks again!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 19:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721752#M259134</guid>
      <dc:creator />
      <dc:date>2014-09-30T19:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721753#M259135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abraham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should have spotted the missing equals - sorry about that!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether variables have equals signs in front of them or not is very interesting.&amp;nbsp; When you use a variable with a dollar sign it basically copies and pastes the content of the variable into the expression when you do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When your variable starts with an equals sign it evaluates the expression in the variable and returns the result.&amp;nbsp; Without the equals it returns the text content of the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, with equals vMaxDate will return:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sep 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without an equals it will return:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;Date(Max(Date), 'MMM YYYY') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;So, if you have a text box with the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;=$(vMaxDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;The first result will return &lt;STRONG&gt;null&lt;/STRONG&gt;, as without quotations &lt;STRONG&gt;Sep 2014&lt;/STRONG&gt; makes no sense, but the expression returned from the variable without an equals does make sense - and will be evaluated by the text box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;You will be able to see the difference if you encapsulate the variable in quotations, so write the expression as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;="$(vMaxDate)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;Then try adding and removing the equals in the variable.&amp;nbsp; Note that I used double quotes rather than single, as the variable content without quotes contains single quotes (which would break and cause a null to be returned).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;So, in order to make the expression work, I would put the equals sign at the start of the variable definition (be sure not to have rogue spaces here) and use it in the expression like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff; background-color: #f6f6f6;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000; background-color: #f6f6f6;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000; background-color: #f6f6f6;"&gt;"&amp;gt;=$(vMaxDate12)"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000; background-color: #f6f6f6;"&gt;Units&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This will however only work if Date itself is in the format MMM YYYY, if it is formatted with days as well it will fail.&amp;nbsp; You may need to format the variable differently.&amp;nbsp; To see how Date is formatted add a List Box to your app with Date in it - it will show in the underlying format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;All that said, if it is working for you whilst evaluating the max date within the Set Analysis itself then you may want to just leave it.&amp;nbsp; It is worth getting your head around the difference of having an equals at the start of a variable or not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope that all makes some kind of sense.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Steve&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 19:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721753#M259135</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-09-30T19:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721754#M259136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for writing that out Steve. That was an area of Qlikview I did not quite understand and it has been causing me problems where I have pretty much been guessing if it is single or double quotes, or if there is an equals or not. This makes a lot more sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will definitely use this conversation as a reference guide in future. Also, I will eventually try to implement your blog recommendation, although at a glance it looks a bit beyond my skill level.&lt;/P&gt;&lt;P&gt;Thanks again. I really appreciate you taking the time to help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 20:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721754#M259136</guid>
      <dc:creator />
      <dc:date>2014-09-30T20:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Show rolling 12 Months only for last 12 months.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721755#M259137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problems.&amp;nbsp; Give me a shout if you need a hand implementing the MAT code from the example document in your own model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 21:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-rolling-12-Months-only-for-last-12-months/m-p/721755#M259137</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-09-30T21:45:28Z</dc:date>
    </item>
  </channel>
</rss>

