<?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: Aggr(RangeSum(Above( function not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110511#M754194</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;Attached the app. Expression is working with this sample data with or without NUMERIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the original app is not working without NUMERIC although i have tried to recreate the scenario.&lt;/P&gt;&lt;P&gt;Since i am using qlik 11 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2018 09:48:21 GMT</pubDate>
    <dc:creator>shreya_nadkarni</dc:creator>
    <dc:date>2018-10-18T09:48:21Z</dc:date>
    <item>
      <title>Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110503#M754186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help in writing the expression for Bar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The req is&amp;nbsp; for date 07/09/2018 for the BU need to Minus the Above value and so on.&lt;/P&gt;&lt;P&gt;Expected Output&amp;nbsp; -07/09/2018 for BU(IBG1) ----value should be 21-12.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;-07/09/2018 for BU(IBG2)----value should be 3-2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks for the helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Test3.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216086_Test3.png" style="height: auto;" /&gt;&lt;A href="https://community.qlik.com/qlik-users/218859" target="_blank"&gt;loveisfail&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/171708" target="_blank"&gt;stalwar1&lt;/A&gt;‌@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110503#M754186</guid>
      <dc:creator>shreya_nadkarni</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110504#M754187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/23109"&gt;jagan&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 09:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110504#M754187</guid>
      <dc:creator>shreya_nadkarni</dc:creator>
      <dc:date>2018-10-17T09:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110505#M754188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(Sum(Value) - Above(Sum(Value)), BU, SNAPSHOT_DATE)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above will work as long as your SNAPSHOT_DATE is ordered in ascending order in the script. If it does not and you happen to be on QV12 or above, then you can try this as an alternative&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(Sum(Value) - Above(Sum(Value)), BU, (SNAPSHOT_DATE, (NUMERIC)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 10:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110505#M754188</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-17T10:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110506#M754189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the detailed description of my requirement below:&lt;/P&gt;&lt;P&gt;1. Attached is the straight table with 2 dimensions in the order Date , Business unit and my expression is count(Field).In the sort tab of the chart prop, i have sorted by Business unit first then by date .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Test4.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216096_Test4.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; As you can see i am finding out the difference using above function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I want the same replicated the same in a line chart , the problem being that i am &lt;STRONG&gt;unable to Sort on Business unit first &lt;/STRONG&gt;. I want to plot &lt;STRONG&gt;Date&lt;/STRONG&gt; on &lt;STRONG&gt;x axis&lt;/STRONG&gt; and add business Unit as my second dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 10:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110506#M754189</guid>
      <dc:creator>shreya_nadkarni</dc:creator>
      <dc:date>2018-10-17T10:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110507#M754190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Which version Of QlikView you are using? Sunny's second suggestion works as expected if you are using advanced version. Try this? Or please share sample file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Aggr(Sum(Value) - Above(Sum(Value)), BU, (SNAPSHOT_DATE, (NUMERIC), DESC))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 13:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110507#M754190</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-10-17T13:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110508#M754191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which version of QlikView are you using? Did you try to use this?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(Sum(Value) - Above(Sum(Value)), BU, (SNAPSHOT_DATE, (NUMERIC)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(Sum(Value) - Above(Sum(Value)), BU, SNAPSHOT_DATE)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 13:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110508#M754191</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-17T13:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110509#M754192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny/Anil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried both the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(Sum(Value) - Above(Sum(Value)), BU, (SNAPSHOT_DATE, (NUMERIC))) works for version 12.20...&amp;nbsp; due to the NUMERIC keyword the sorting of BU,Snapshot is automatically handled in the sort properties.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;however mine is 11 version qlik.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(Sum(Value) - Above(Sum(Value)), BU, SNAPSHOT_DATE) expression is not giving correct output.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;can you please give me an alternative to use &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(Sum(Value) - Above(Sum(Value)), BU, SNAPSHOT_DATE) &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and include NUMERIC functionality.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/qlik-users/218859"&gt;loveisfail&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 03:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110509#M754192</guid>
      <dc:creator>shreya_nadkarni</dc:creator>
      <dc:date>2018-10-18T03:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110510#M754193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better if you could share the sample. We Will think little Sort option using &lt;STRONG&gt;Order By&lt;/STRONG&gt; in Script level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 03:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110510#M754193</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-10-18T03:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110511#M754194</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;Attached the app. Expression is working with this sample data with or without NUMERIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the original app is not working without NUMERIC although i have tried to recreate the scenario.&lt;/P&gt;&lt;P&gt;Since i am using qlik 11 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 09:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110511#M754194</guid>
      <dc:creator>shreya_nadkarni</dc:creator>
      <dc:date>2018-10-18T09:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110512#M754195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All you need to do.... for your original app is to sort the data by SNAPSHOT_DATE..... like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Test:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD SNAPSHOT_DATE as Temp, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BUSINESS_UNIT, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUOTATION_REF&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sample.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, table is Sample);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 13.3333px;"&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD Temp as SNAPSHOT_DATE,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; BUSINESS_UNIT, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUOTATION_REF&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Resident Test&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 13.3333px;"&gt;Order By SNAPSHOT_DATE;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;DROP Table Test;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If for some reason you don't want to do this... you can also do something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Test:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD SNAPSHOT_DATE, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BUSINESS_UNIT, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUOTATION_REF&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sample.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, table is Sample);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;SortTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD Distinct SNAPSHOT_DATE,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; &lt;SPAN style="color: #ff0000;"&gt;SNAPSHOT_DATE as SNAPSHOT_DATE_SORT&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Resident Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Order By SNAPSHOT_DATE;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Here I am creating a new field called &lt;STRONG style=": ; color: #ff0000; font-size: 13.3333px;"&gt;SNAPSHOT_DATE_SORT &lt;/STRONG&gt;which is sorted in the correct order and can be used in place of SNAPSHOT_DATE in your aggr() function because it is a one to one match between the two field... so the new expression will look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(Sum(Value) - Above(Sum(Value)), BU, &lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;SNAPSHOT_DATE_SORT&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 10:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110512#M754195</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-18T10:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110513#M754196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/218859"&gt;loveisfail&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;This was indeed helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 03:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110513#M754196</guid>
      <dc:creator>shreya_nadkarni</dc:creator>
      <dc:date>2018-10-19T03:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110514#M754197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only after using a mapping table&amp;nbsp; &lt;STRONG&gt;SortTable &lt;/STRONG&gt; where i sorted in asc in script did it work.&lt;/P&gt;&lt;P&gt;Also i had to use the new field &lt;STRONG&gt;SNAPSHOT_DATE_SORT&lt;/STRONG&gt; instead of the original &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;SNAPSHOT_DATE &lt;/STRONG&gt;&lt;/SPAN&gt; in my expression then the chart gave me the proper result.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 09:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-RangeSum-Above-function-not-working/m-p/110514#M754197</guid>
      <dc:creator>shreya_nadkarni</dc:creator>
      <dc:date>2018-10-19T09:15:40Z</dc:date>
    </item>
  </channel>
</rss>

