<?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: Trailing 12 that includes values not in chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trailing-12-that-includes-values-not-in-chart/m-p/716235#M257554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please go through below link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4252"&gt;http://community.qlik.com/docs/DOC-4252&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 18:25:04 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2014-10-28T18:25:04Z</dc:date>
    <item>
      <title>Trailing 12 that includes values not in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trailing-12-that-includes-values-not-in-chart/m-p/716234#M257553</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;I have a need for calculating the trailing 12 accumulation of production. I can do this in a chart using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;RangeSum(Above( SUM([Production]),0 ,12))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it starts with the first value in the chart, and it isn't really accurate until the 12th month. I need the ability to start at the first month with the T12 of the prior months that came before. I cannot include the prior months in the chart - not even with the scroll bar trick. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a set analysis expression that might work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Blair&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 18:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trailing-12-that-includes-values-not-in-chart/m-p/716234#M257553</guid>
      <dc:creator />
      <dc:date>2014-10-28T18:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trailing 12 that includes values not in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trailing-12-that-includes-values-not-in-chart/m-p/716235#M257554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please go through below link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4252"&gt;http://community.qlik.com/docs/DOC-4252&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 18:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trailing-12-that-includes-values-not-in-chart/m-p/716235#M257554</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2014-10-28T18:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trailing 12 that includes values not in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trailing-12-that-includes-values-not-in-chart/m-p/716236#M257555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I looked at this post before posting. It looks quite simple when the data is pre-aggregated. In my case, the data is not at the month grain, and requires a sum. Eventually, I need to use this expression in another calculation which is also a sum: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RangeSum(Above( SUM([Production]),0 ,12)) / Sum(Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Where the Value is from the same original fact table. It appears as if I would then need to add the expression in the denominator into the AsOfMonth table so that it is available in the chart. Is that correct? Is this the best way to do this - create another aggregated table in the data model?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 18:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trailing-12-that-includes-values-not-in-chart/m-p/716236#M257555</guid>
      <dc:creator />
      <dc:date>2014-10-28T18:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trailing 12 that includes values not in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trailing-12-that-includes-values-not-in-chart/m-p/716237#M257556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: I thought I might try the AsOf table approach, but soon realized that this may not be practical. Without aggregated data, my fact table is at approximately 75 million rows. Each month in the AsOf table would be the same size, meaning nearly a billion rows. Will this method scale up to this amount of data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 20:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trailing-12-that-includes-values-not-in-chart/m-p/716237#M257556</guid>
      <dc:creator />
      <dc:date>2014-10-28T20:33:27Z</dc:date>
    </item>
  </channel>
</rss>

