<?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 12 rolling month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309183#M114154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Philippe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to show the last 12 months in the report that I have.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I don't think if it works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2011 19:51:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-09T19:51:32Z</dc:date>
    <item>
      <title>12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309181#M114152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with my expression, I have a field in my table name DATE&amp;nbsp; which is like &lt;/P&gt;&lt;P&gt;2011-12-01 &lt;/P&gt;&lt;P&gt;2011-11-01&lt;/P&gt;&lt;P&gt;2011-10-01&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 want to filter the report for last 12 month or better to say I need the 12 rolling month in the report.&lt;/P&gt;&lt;P&gt;Any idea is appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 19:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309181#M114152</guid>
      <dc:creator />
      <dc:date>2011-11-09T19:30:56Z</dc:date>
    </item>
    <item>
      <title>12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309182#M114153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This Year Rolling Sales Amount : sum( {$&amp;lt; NumOrderDate = { '&amp;gt;= $(LastYearvarDate) &amp;lt;= $(varDate)'}&amp;gt;} NetSalesAmount )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tha variables are &lt;/P&gt;&lt;P&gt;varDate = variable choosen in a calendar Objet&lt;/P&gt;&lt;P&gt;Last YearvarDate = num(AddMonths(date($(varDate)) , -12 ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 19:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309182#M114153</guid>
      <dc:creator />
      <dc:date>2011-11-09T19:44:06Z</dc:date>
    </item>
    <item>
      <title>12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309183#M114154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Philippe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to show the last 12 months in the report that I have.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I don't think if it works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 19:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309183#M114154</guid>
      <dc:creator />
      <dc:date>2011-11-09T19:51:32Z</dc:date>
    </item>
    <item>
      <title>12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309184#M114155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if you put the Month(Date) as a Dimension ?&lt;/P&gt;&lt;P&gt;It should show you per month , the amount of the last 12 months no ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 19:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309184#M114155</guid>
      <dc:creator />
      <dc:date>2011-11-09T19:56:54Z</dc:date>
    </item>
    <item>
      <title>12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309185#M114156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Ok , &lt;/P&gt;&lt;P&gt;This the case, maybe I did not explain it very well. &lt;/P&gt;&lt;P&gt;What I want is when I open the report the report shows me the last 12 month of the DATE that I have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put this expression in a trigger but it does not work:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=('&amp;gt;' &amp;amp; &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(),-12), 'YYYY-MM-01') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;BR /&gt;'&amp;lt;' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(), 'YYYY-MM-01') ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 20:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309185#M114156</guid>
      <dc:creator />
      <dc:date>2011-11-09T20:12:17Z</dc:date>
    </item>
    <item>
      <title>12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309186#M114157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what kind of object are you using ?&lt;/P&gt;&lt;P&gt;A chart ? A listBox ? something Else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (DATE &amp;lt;= Today(0) and DATE &amp;gt;=Addmonths(Today(0) , -12 ) , DATE , null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Remove the null .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 20:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309186#M114157</guid>
      <dc:creator />
      <dc:date>2011-11-09T20:16:39Z</dc:date>
    </item>
    <item>
      <title>12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309187#M114158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks, &lt;/P&gt;&lt;P&gt;The thing is I need it on the trigger not in the object because I don't want to lose the rest of my DATE . &lt;/P&gt;&lt;P&gt;When it's on the trigger , when I open the report it shows just the 12&amp;nbsp; month then I have this option to clear the selection and select other month in the month table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 20:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309187#M114158</guid>
      <dc:creator />
      <dc:date>2011-11-09T20:30:22Z</dc:date>
    </item>
    <item>
      <title>12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309188#M114159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nima, &lt;/P&gt;&lt;P&gt;For my rolling 12 month report used the following formula under an expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the report is for the last completed 12 months sales for the company's branches &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(InvoiceDateID &amp;lt;= MonthEnd(Today(),-1) and InvoiceDateID &amp;gt; MonthEnd(Today(),-13) , BRANCHES,Null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if i were to do it for the last rolling 365 days I use&lt;/P&gt;&lt;P&gt;=if(InvoiceDateID &amp;lt;= Today()-1 and InvoiceDateID &amp;gt;= Today()-366 , BRANCHES ,Null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps &lt;/P&gt;&lt;P&gt;Tara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 20:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309188#M114159</guid>
      <dc:creator />
      <dc:date>2011-11-09T20:31:44Z</dc:date>
    </item>
    <item>
      <title>12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309189#M114160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks ,&lt;/P&gt;&lt;P&gt;Your answer is helpful but not exactly I'm looking for.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Nima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 20:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309189#M114160</guid>
      <dc:creator />
      <dc:date>2011-11-09T20:41:21Z</dc:date>
    </item>
    <item>
      <title>12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309190#M114161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever I am faced with rolling date periods, I usually create a new field within the load script to hold a flag value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if Date within last 12months, set YTDflag to 1, else set YTDflag to 0. It makes expressions a lot easier to manage, in your case you just need to make the selection of YTDflag = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 21:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309190#M114161</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2011-11-09T21:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: 12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309191#M114162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please see the attached&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 05:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309191#M114162</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-11-10T05:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: 12 rolling month</title>
      <link>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309192#M114163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try this for current 12 rolling month:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=RangeSum(Below(sum({$&amp;lt;Year=,Month=,[Cal Year]=,[Year Month]=,OrderDate={"&amp;lt;=$(vMaxDate) &amp;gt;=$(vRollingDate)"}&amp;gt;}&lt;/P&gt;&lt;P&gt; NetSales),0,12))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable values are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) vMaxDate = (Max(OrderDate))&lt;/P&gt;&lt;P&gt;2) vRollingDate = AddMonths(Max(OrderDate),-11) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Neetu Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 07:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-rolling-month/m-p/309192#M114163</guid>
      <dc:creator>neetu_singh</dc:creator>
      <dc:date>2011-11-10T07:22:22Z</dc:date>
    </item>
  </channel>
</rss>

