<?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 Rolling 12 - Trouble with selecting specific date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-12-Trouble-with-selecting-specific-date/m-p/191781#M53734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;I am having trouble with a Rolling 12 graph. When no year is selected all the figures are correct. But since my formula is using ABOVE, when selecting a specific year there are no rows above and the sum starts from the first selected month. I need the year-slice to show the same values as from when no specific filter on year is set.&lt;/P&gt;&lt;P&gt;This is how I do it:&lt;BR /&gt;RangeSum(Above(Sum({$&amp;lt;YearMonth = {"&amp;lt;=$(=max(YearMonth))"}&amp;gt;}[Data]),0,12))&lt;/P&gt;&lt;P&gt;I know I probably must do something in the script when I load the data but I cannot figure out what.&lt;/P&gt;&lt;P&gt;Please, any suggestions?&lt;BR /&gt;/Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jun 2010 09:02:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-17T09:02:03Z</dc:date>
    <item>
      <title>Rolling 12 - Trouble with selecting specific date</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Trouble-with-selecting-specific-date/m-p/191781#M53734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;I am having trouble with a Rolling 12 graph. When no year is selected all the figures are correct. But since my formula is using ABOVE, when selecting a specific year there are no rows above and the sum starts from the first selected month. I need the year-slice to show the same values as from when no specific filter on year is set.&lt;/P&gt;&lt;P&gt;This is how I do it:&lt;BR /&gt;RangeSum(Above(Sum({$&amp;lt;YearMonth = {"&amp;lt;=$(=max(YearMonth))"}&amp;gt;}[Data]),0,12))&lt;/P&gt;&lt;P&gt;I know I probably must do something in the script when I load the data but I cannot figure out what.&lt;/P&gt;&lt;P&gt;Please, any suggestions?&lt;BR /&gt;/Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 09:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Trouble-with-selecting-specific-date/m-p/191781#M53734</guid>
      <dc:creator />
      <dc:date>2010-06-17T09:02:03Z</dc:date>
    </item>
  </channel>
</rss>

