<?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: 24 rolling Months from YYYYMM format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/24-rolling-Months-from-YYYYMM-format/m-p/491849#M183846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read this document: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4252" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7; text-decoration: underline;"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Oct 2013 15:50:19 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-10-18T15:50:19Z</dc:date>
    <item>
      <title>24 rolling Months from YYYYMM format</title>
      <link>https://community.qlik.com/t5/QlikView/24-rolling-Months-from-YYYYMM-format/m-p/491845#M183842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Hello all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;I'm trying to calculate directly and dynamically into a chart the 24 rolling Months.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;My time dimension has the following format : YYYYMM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Have you ever calculated this kind of dimension ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;I tried to use the "Makedate" function, without success.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Thank you for your help,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Jaymerry&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 15:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/24-rolling-Months-from-YYYYMM-format/m-p/491845#M183842</guid>
      <dc:creator>jaymerry</dc:creator>
      <dc:date>2013-10-18T15:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: 24 rolling Months from YYYYMM format</title>
      <link>https://community.qlik.com/t5/QlikView/24-rolling-Months-from-YYYYMM-format/m-p/491846#M183843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you have date field in your datamodel, then use the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;YearDimension=, MonthDimension=, QuarterDimension=, DateDimension={'&amp;gt;=$(=MonthStart(Max(DateDimension), -23))&amp;lt;=$(=MonthEnd(Max(DateDimension)))'}&amp;gt;} MeasureName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exclude Year, Month, Quarter dimensions in the expression as in the above expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 15:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/24-rolling-Months-from-YYYYMM-format/m-p/491846#M183843</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-18T15:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: 24 rolling Months from YYYYMM format</title>
      <link>https://community.qlik.com/t5/QlikView/24-rolling-Months-from-YYYYMM-format/m-p/491847#M183844</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;You can arrive a date by using MakeDate() as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MakeDate(Left(DateDimension, 4), Num(Right(DateDimension, 2)), 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 15:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/24-rolling-Months-from-YYYYMM-format/m-p/491847#M183844</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-18T15:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: 24 rolling Months from YYYYMM format</title>
      <link>https://community.qlik.com/t5/QlikView/24-rolling-Months-from-YYYYMM-format/m-p/491848#M183845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found the following way, which works in my chart :&lt;/P&gt;&lt;P&gt;YEAR(addmonths(Makedate(left(%YYYYMM,4),right(%YYYYMM,2)),-24,1))&amp;amp;right(left(addmonths(Makedate(left(%YYYYMM,4),right(%YYYYMM,2)),-24,1),5),2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaymerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 15:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/24-rolling-Months-from-YYYYMM-format/m-p/491848#M183845</guid>
      <dc:creator>jaymerry</dc:creator>
      <dc:date>2013-10-18T15:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: 24 rolling Months from YYYYMM format</title>
      <link>https://community.qlik.com/t5/QlikView/24-rolling-Months-from-YYYYMM-format/m-p/491849#M183846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read this document: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4252" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7; text-decoration: underline;"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 15:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/24-rolling-Months-from-YYYYMM-format/m-p/491849#M183846</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-18T15:50:19Z</dc:date>
    </item>
  </channel>
</rss>

