<?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: Rolling 3,6,12 months Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861621#M301578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would further adjust it to this:&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; font-size: 13px;"&gt;&lt;STRONG&gt;=Sum({&amp;lt;MonthYear = {"$(='&amp;gt;=' &amp;amp; MonthName(AddMonths(Today(),-3)))"}&amp;gt;} Stockvalue)&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Where &lt;STRONG&gt;MonthYear&lt;/STRONG&gt; is a field created in the script using &lt;STRONG&gt;MonthName()&lt;/STRONG&gt; function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Master Calendar]:&lt;/P&gt;&lt;P&gt;LOAD Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;MonthName(Date) as MonthYear&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;Resident...;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2015 11:56:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-06-19T11:56:05Z</dc:date>
    <item>
      <title>Rolling 3,6,12 months Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861616#M301573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need help for some calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my Dashboard I filtered one year of data, and I need to calculate the sum value stock of warehouse that moved &amp;gt; 3 Months, &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt; Months, &amp;gt; 6 Months and &amp;gt; 12 Months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How can i do?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;Francesca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 11:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861616#M301573</guid>
      <dc:creator />
      <dc:date>2015-06-19T11:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 3,6,12 months Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861617#M301574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this link can help you: &lt;A href="https://community.qlik.com/docs/DOC-6163"&gt;YTQ, QTD, MTD and WTD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 11:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861617#M301574</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-19T11:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 3,6,12 months Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861618#M301575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the logic to calculate &amp;gt;3Month, &amp;lt;3Month etc??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this may help you, will give you last three month stock&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=sum({&amp;lt; month = { '$((today()-3))'}&amp;gt;}Stockvalue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 11:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861618#M301575</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2015-06-19T11:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 3,6,12 months Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861619#M301576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=sum({&amp;lt; month = { '$((today()-3))'}&amp;gt;}Stockvalue)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Abhay, I don't think the above will give him last 3 months stock. Today() - 3 is three days back. Did you forget to add Addmonths??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 11:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861619#M301576</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-19T11:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 3,6,12 months Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861620#M301577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah sory pls add addmonths&lt;/P&gt;&lt;P&gt;=sum({&amp;lt; month = {'$(Addmonths(Today()),-3)'}&amp;gt;}Stockvalue)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 11:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861620#M301577</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2015-06-19T11:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 3,6,12 months Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861621#M301578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would further adjust it to this:&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; font-size: 13px;"&gt;&lt;STRONG&gt;=Sum({&amp;lt;MonthYear = {"$(='&amp;gt;=' &amp;amp; MonthName(AddMonths(Today(),-3)))"}&amp;gt;} Stockvalue)&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Where &lt;STRONG&gt;MonthYear&lt;/STRONG&gt; is a field created in the script using &lt;STRONG&gt;MonthName()&lt;/STRONG&gt; function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Master Calendar]:&lt;/P&gt;&lt;P&gt;LOAD Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;MonthName(Date) as MonthYear&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;Resident...;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 11:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/861621#M301578</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-19T11:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 3,6,12 months Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/1635434#M446753</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the post,&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial" size="2" color="#2f2f2f"&gt;&lt;STRONG&gt;=Sum({&amp;lt;MonthYear = {"$(='&amp;gt;=' &amp;amp; MonthName(AddMonths(Today(),-3)))"}&amp;gt;} Amount)&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial" size="2" color="#2f2f2f"&gt;&lt;STRONG&gt;I'm using above measure in a bar chart with dimension as MonthYear and measure column as Amount, but it is not working , showing me a blank chart.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 13:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/1635434#M446753</guid>
      <dc:creator>anu</dc:creator>
      <dc:date>2019-10-15T13:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 3,6,12 months Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/1635443#M446758</link>
      <description>&lt;P&gt;I think,&lt;/P&gt;&lt;P&gt;Set analysis won't work with monthname and &amp;lt;= or &amp;gt;=&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Datefield= {"$(='&amp;gt;=' &amp;amp; date(AddMonths(Today(),-3)))"}&amp;gt;} Amount)&amp;nbsp;&lt;/P&gt;&lt;P&gt;instead&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 13:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-6-12-months-Calculation/m-p/1635443#M446758</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2019-10-15T13:20:49Z</dc:date>
    </item>
  </channel>
</rss>

