<?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 Using 12 steps back for Moving Annual Total (MAT) when some months are &amp;quot;empty&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-12-steps-back-for-Moving-Annual-Total-MAT-when-some-months/m-p/154717#M31244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, please help if you can.&lt;/P&gt;&lt;P&gt;I need to use MAT calculations and 12 steps back works great - almost. Sometimes I have no sales in a month for a product but then the 12 steps back just skips and looks for 12 where it finds something. This is incorrect. If I tick show all values in my chart although the chart then works as expected it over rides set analysis and selections on date which is also an issue. I think a solution is to use the following logic&lt;/P&gt;&lt;P&gt;If(Sum of billings = 0, 0.0000001,Sum of billings) where the error is very small but at least the 12 steps will see something and then I can use date selections and set analysis.&lt;/P&gt;&lt;P&gt;BUT - I can't get the If and Sum syntax to work.&lt;/P&gt;&lt;P&gt;Other solution would be to use Rangesum maybe but that seems even harder to write.&lt;/P&gt;&lt;P&gt;I know MAT is common so hope others have fixed this already but couldn't find an answer on the forum.&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2011 18:29:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-10T18:29:38Z</dc:date>
    <item>
      <title>Using 12 steps back for Moving Annual Total (MAT) when some months are "empty"</title>
      <link>https://community.qlik.com/t5/QlikView/Using-12-steps-back-for-Moving-Annual-Total-MAT-when-some-months/m-p/154717#M31244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, please help if you can.&lt;/P&gt;&lt;P&gt;I need to use MAT calculations and 12 steps back works great - almost. Sometimes I have no sales in a month for a product but then the 12 steps back just skips and looks for 12 where it finds something. This is incorrect. If I tick show all values in my chart although the chart then works as expected it over rides set analysis and selections on date which is also an issue. I think a solution is to use the following logic&lt;/P&gt;&lt;P&gt;If(Sum of billings = 0, 0.0000001,Sum of billings) where the error is very small but at least the 12 steps will see something and then I can use date selections and set analysis.&lt;/P&gt;&lt;P&gt;BUT - I can't get the If and Sum syntax to work.&lt;/P&gt;&lt;P&gt;Other solution would be to use Rangesum maybe but that seems even harder to write.&lt;/P&gt;&lt;P&gt;I know MAT is common so hope others have fixed this already but couldn't find an answer on the forum.&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 18:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-12-steps-back-for-Moving-Annual-Total-MAT-when-some-months/m-p/154717#M31244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-10T18:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using 12 steps back for Moving Annual Total (MAT) when some months are "empty"</title>
      <link>https://community.qlik.com/t5/QlikView/Using-12-steps-back-for-Moving-Annual-Total-MAT-when-some-months/m-p/154718#M31245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have come across a solution, in order to provide a good moving annual total (MAT) analysis. The solution is called As-Of table. A very good example is provided here by Henric Conström:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, by using DateDiff (difference between the two dates), you might create different flags for flagging current 3months, 6months, 1Year, Ytd, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Oktay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 11:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-12-steps-back-for-Moving-Annual-Total-MAT-when-some-months/m-p/154718#M31245</guid>
      <dc:creator>itec_pao</dc:creator>
      <dc:date>2018-04-09T11:49:30Z</dc:date>
    </item>
  </channel>
</rss>

