<?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 Rolling Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-Month/m-p/1227406#M391561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Date field in my dashboard, I need to show Rolling 3 Month and Rolling 6 month data. Could you please help me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2016 08:11:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-11-10T08:11:25Z</dc:date>
    <item>
      <title>Rolling Month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Month/m-p/1227406#M391561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Date field in my dashboard, I need to show Rolling 3 Month and Rolling 6 month data. Could you please help me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 08:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Month/m-p/1227406#M391561</guid>
      <dc:creator />
      <dc:date>2016-11-10T08:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Month/m-p/1227407#M391562</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 lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note: The format defined in SET DateFormat and your date field format in Qlikview Table should be same, then only this expressions works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 5 Years Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=YearStart(Max(Date), -4))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 6 Quarters Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=QuarterStart(Max(Date), -5))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 12 Months Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=MonthStart(Max(Date), -11))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 15 Weeks Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=WeekStart(Max(Date), -14))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 10 Days Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=Date(Max(Date)-9))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Note:&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;YTD - Year to Date&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;QTD - Quarter to Date&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;MTD - Month to Date&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;WTD - Week to Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last YTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=YearStart(Max(Date), -1))&amp;lt;=$(=AddYears(Max(Date), -1))’}&amp;gt;} Sales)&lt;/P&gt;&lt;P lang="en-IN"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last QTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=QuarterStart(Max(Date), -1))&amp;lt;=$(=AddMonths(Max(Date), -3))’}&amp;gt;} Sales)&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last MTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=MonthStart(Max(Date), -1))&amp;lt;=$(=AddMonths(Max(Date), -1))’}&amp;gt;} Sales)&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last WTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=WeekStart(Max(Date), -1))&amp;lt;=$(=Date(Max(Date) -7))’}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 16:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Month/m-p/1227407#M391562</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2016-11-10T16:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Month/m-p/1227408#M391563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A possible issue with the above would be IF you wanted to use the Month as a dimension in the chart, and see a rolling 3 months and rolling 6 months for EACH Month. Set analysis isn't sensitive to the dimensions of the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF that's what you're after, you could use an AsOf table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AsOfMonth,Month,MonthsBack&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Nov 2016,Nov 2016,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Nov 2016,Oct 2016,1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Nov 2016,Jun 2016,5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Dimension = AsOfMonth&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;3 Month&amp;nbsp;&amp;nbsp; = sum({&amp;lt;MonthsBack={"&amp;lt;3"}&amp;gt;} Something)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;6 Month&amp;nbsp;&amp;nbsp; = sum({&amp;lt;MonthsBack={"&amp;lt;6"}&amp;gt;} Something)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And both solutions are assuming you have other calendar fields. In the previous, you have to list them all as shown. In this, you need at least the Month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 17:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Month/m-p/1227408#M391563</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-11-10T17:12:44Z</dc:date>
    </item>
  </channel>
</rss>

