<?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 LTM Values in Diagram in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LTM-Values-in-Diagram/m-p/270802#M101565</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;I have period values for order intake, which I show as bars. &lt;/P&gt;&lt;P&gt;Additionally I would like to have a LTM (Last Twelve Months aka Rolling12) line in the diagram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is, if I have equal or less than 12 periods, it is more a YTD value, like he is simply adding up&lt;/P&gt;&lt;P&gt;the shown period values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: Here he adds up the monthly values... I would like to let the line start already over the first value&lt;/P&gt;&lt;P&gt;with the last not visible 11 values + the period value visible.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikviewdiagramm1.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5773_qlikviewdiagramm1.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;If I have even less values, he simply adds them up, there is no Rolling 12:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikviewdiagramm2.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5774_qlikviewdiagramm2.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following formulas:&lt;/P&gt;&lt;P&gt;rangesum(above(sum(AE/1000),0,12))&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;accumulation 12 steps back:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikviewdiagramm3.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5775_qlikviewdiagramm3.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a LKM line/cuve is quite common, I hope someone has a solution??&lt;/P&gt;&lt;P&gt;Or do I somehow have to build a new value in the script somehow??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2011 12:00:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-11T12:00:42Z</dc:date>
    <item>
      <title>LTM Values in Diagram</title>
      <link>https://community.qlik.com/t5/QlikView/LTM-Values-in-Diagram/m-p/270802#M101565</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;I have period values for order intake, which I show as bars. &lt;/P&gt;&lt;P&gt;Additionally I would like to have a LTM (Last Twelve Months aka Rolling12) line in the diagram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is, if I have equal or less than 12 periods, it is more a YTD value, like he is simply adding up&lt;/P&gt;&lt;P&gt;the shown period values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: Here he adds up the monthly values... I would like to let the line start already over the first value&lt;/P&gt;&lt;P&gt;with the last not visible 11 values + the period value visible.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikviewdiagramm1.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5773_qlikviewdiagramm1.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;If I have even less values, he simply adds them up, there is no Rolling 12:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikviewdiagramm2.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5774_qlikviewdiagramm2.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following formulas:&lt;/P&gt;&lt;P&gt;rangesum(above(sum(AE/1000),0,12))&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;accumulation 12 steps back:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikviewdiagramm3.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5775_qlikviewdiagramm3.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a LKM line/cuve is quite common, I hope someone has a solution??&lt;/P&gt;&lt;P&gt;Or do I somehow have to build a new value in the script somehow??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 12:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LTM-Values-in-Diagram/m-p/270802#M101565</guid>
      <dc:creator />
      <dc:date>2011-07-11T12:00:42Z</dc:date>
    </item>
  </channel>
</rss>

