<?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: Aggregation issue when expression has rolling 12 months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274319#M400423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RangeSum on total expression or instead of SUM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2016 12:15:50 GMT</pubDate>
    <dc:creator>rsdhavle</dc:creator>
    <dc:date>2016-12-16T12:15:50Z</dc:date>
    <item>
      <title>Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274315#M400419</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 one expression with rolling 12 months when i write this expression in text object calculation is perfect. When i write this expression against Month Dimension in a straight table it gives me incorrect numbers as it seems aggregation is happening. How can we achieve so that it will give me correct expression value against each month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274315#M400419</guid>
      <dc:creator>rsdhavle</dc:creator>
      <dc:date>2016-12-16T12:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274316#M400420</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;can you post your expression &lt;/P&gt;&lt;P&gt;might be you need nullify Month field in expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274316#M400420</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-12-16T12:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274317#M400421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you try using RangeSum() function instead? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274317#M400421</guid>
      <dc:creator>snehamahaveer</dc:creator>
      <dc:date>2016-12-16T12:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274318#M400422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum({$&amp;lt;Year=,MONTH_SHORT_NAME=,YearMonth={'&amp;gt;$(=Max(YearMonth)-100) &amp;lt;=$(=Max(YearMonth))'},Prod1 -={'ABC'}&amp;gt;} Expense) /&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Year=,MONTH_SHORT_NAME=,YearMonth={'&amp;gt;$(=Max(YearMonth)-100) &amp;lt;=$(=Max(YearMonth))'}&amp;gt;}Rev)/1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is sample expression i am using against Month Dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274318#M400422</guid>
      <dc:creator>rsdhavle</dc:creator>
      <dc:date>2016-12-16T12:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274319#M400423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RangeSum on total expression or instead of SUM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274319#M400423</guid>
      <dc:creator>rsdhavle</dc:creator>
      <dc:date>2016-12-16T12:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274320#M400424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you add an image or sample qvw. ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274320#M400424</guid>
      <dc:creator>snehamahaveer</dc:creator>
      <dc:date>2016-12-16T12:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274321#M400425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See here: &lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274321#M400425</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-16T12:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274322#M400426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sneha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is sample formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;Year=,MONTH_SHORT_NAME=,YearMonth={'&amp;gt;$(=Max(YearMonth)-100) &amp;lt;=$(=Max(YearMonth))'},Prod1 -={'ABC'}&amp;gt;} Expense) /&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM({&amp;lt;Year=,MONTH_SHORT_NAME=,YearMonth={'&amp;gt;$(=Max(YearMonth)-100) &amp;lt;=$(=Max(YearMonth))'}&amp;gt;}Rev)/1000&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Even if i use Rangesum instead of Sum it gives incorrect values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 12:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274322#M400426</guid>
      <dc:creator>rsdhavle</dc:creator>
      <dc:date>2016-12-19T12:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274323#M400427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried using Rangesum options however i get different values when i use that function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 12:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274323#M400427</guid>
      <dc:creator>rsdhavle</dc:creator>
      <dc:date>2016-12-19T12:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274324#M400428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's amazing. An expression normally returns only one value. And if you don't change the data or the selections it's always the same value too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 12:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274324#M400428</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-19T12:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274325#M400429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be i have modified incorrectly..just to confirm..instead of SUM function everywhere i should use RangeSum function right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 13:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274325#M400429</guid>
      <dc:creator>rsdhavle</dc:creator>
      <dc:date>2016-12-19T13:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274326#M400430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, no. Replacing it everywhere won't work. If you read the document I linked to above you'll see that the expressions don't replace every sum with a rangesum. The rangesum function is not an aggregation function, but calculates the sum of all the values used as parameters. So rangesum( 12, 8, 10 ) returns 30. Rangesum can be used in combination with the Above function where the Above function returns a list of values from previous rows and then rangesum will sum those values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 13:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274326#M400430</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-19T13:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274327#M400431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Gysbert..we have implemented 12 month logic using RangeSum() but it is not considering negative values it seems.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Basically, i am trying to implement something like the attached sheet, formula's of the same are mentioned in the sheet. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;The final output is L column highlighted in green.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 09:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274327#M400431</guid>
      <dc:creator>rsdhavle</dc:creator>
      <dc:date>2017-01-16T09:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation issue when expression has rolling 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274328#M400432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Rangesum does not disregard negative values unless you force it to do so. &lt;/SPAN&gt;Can you post a small qlikview document that demonstrates the problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW this looks like a straightforward problem that can be solved with Rangexxx functions or with an AsOf table. Both options are explained in the document I linked to above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 17:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-issue-when-expression-has-rolling-12-months/m-p/1274328#M400432</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-01-18T17:38:13Z</dc:date>
    </item>
  </channel>
</rss>

