<?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 Dynamic Rate calculation in Last 12 month expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Rate-calculation-in-Last-12-month-expression/m-p/133253#M20002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a dynamic rate populated from a table as mentioned in the excel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LTM logic is as mentioned below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; intYearMonth,Year,Month,intYearMonth={'&amp;gt;$(=(Max(intYearMonth)-100))&amp;nbsp; &amp;lt;=$(=(Max(intYearMonth)))'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me with a solution on how we can bifurcate the rate if the year changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;viz- if the max Intyearmonth is 201807 then the last 12 month calculation will go to 201708, but the rate of 2018 is different from that of 2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attached is the data in excel fort reference &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2018 05:32:13 GMT</pubDate>
    <dc:creator>aniketsr</dc:creator>
    <dc:date>2018-07-12T05:32:13Z</dc:date>
    <item>
      <title>Dynamic Rate calculation in Last 12 month expression</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Rate-calculation-in-Last-12-month-expression/m-p/133253#M20002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a dynamic rate populated from a table as mentioned in the excel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LTM logic is as mentioned below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; intYearMonth,Year,Month,intYearMonth={'&amp;gt;$(=(Max(intYearMonth)-100))&amp;nbsp; &amp;lt;=$(=(Max(intYearMonth)))'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me with a solution on how we can bifurcate the rate if the year changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;viz- if the max Intyearmonth is 201807 then the last 12 month calculation will go to 201708, but the rate of 2018 is different from that of 2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attached is the data in excel fort reference &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2018 05:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Rate-calculation-in-Last-12-month-expression/m-p/133253#M20002</guid>
      <dc:creator>aniketsr</dc:creator>
      <dc:date>2018-07-12T05:32:13Z</dc:date>
    </item>
  </channel>
</rss>

