<?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 Front-End AGGR expression acts differently depending on loading from QVD or not, BUG? in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/Front-End-AGGR-expression-acts-differently-depending-on-loading/m-p/1760576#M3895</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have come across some odd behaviour and wondering if anyone experienced similar.&amp;nbsp; I have created some logic in a table and then using a graph I have a front end expression which calculates the remaining amounts across the time groups.&lt;/P&gt;&lt;P&gt;Once I created/checked the logic I stored it into a qvd and dropped the original table.&amp;nbsp; I loaded from the qvd and the chart is different, even though it uses the same expressions and the number of values in the qvd are the same as the original.&amp;nbsp; The actual values in the qvd are the same but the expression I am using does not work the same way when loading from a qvd.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bc5891_2-1605082379357.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43949i3D58CC6BA2EC5490/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bc5891_2-1605082379357.png" alt="bc5891_2-1605082379357.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the expression is as follows:&lt;/P&gt;&lt;P&gt;AGGR(&lt;BR /&gt;sum(total &amp;lt;SCH_EVENT_TYPE&amp;gt;{&amp;lt;SCH_YEAR_GROUP = {'Within Yr'}&amp;gt;}SCH_AMOUNT)/1000000&lt;BR /&gt;-&lt;BR /&gt;RangeSum(Above(sum(SCH_AMOUNT)/1000000, 0, RowNo()-1))&lt;BR /&gt;, SCH_EVENT_TYPE, SCH_YEAR_GROUP)&lt;/P&gt;&lt;P&gt;in this I am taking the full value of the initial amount at the first time interval, and then in the next time intervals I only display the remaining values, i.e. the number should always decrease over time.&amp;nbsp; When loading the exact same thing from the qvd though I get the following chart:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bc5891_3-1605082407561.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43950i3314853E750728C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bc5891_3-1605082407561.png" alt="bc5891_3-1605082407561.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question is:&amp;nbsp; has anyone come across this sort of behaviour before, is it a bug?&lt;/P&gt;&lt;P&gt;I cannot share the application but can assure you that the only difference between the two charts is that one is from a qvd and the other is not, both have the same number of rows and fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jul 2025 14:48:52 GMT</pubDate>
    <dc:creator>bc5891</dc:creator>
    <dc:date>2025-07-23T14:48:52Z</dc:date>
    <item>
      <title>Front-End AGGR expression acts differently depending on loading from QVD or not, BUG?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Front-End-AGGR-expression-acts-differently-depending-on-loading/m-p/1760576#M3895</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have come across some odd behaviour and wondering if anyone experienced similar.&amp;nbsp; I have created some logic in a table and then using a graph I have a front end expression which calculates the remaining amounts across the time groups.&lt;/P&gt;&lt;P&gt;Once I created/checked the logic I stored it into a qvd and dropped the original table.&amp;nbsp; I loaded from the qvd and the chart is different, even though it uses the same expressions and the number of values in the qvd are the same as the original.&amp;nbsp; The actual values in the qvd are the same but the expression I am using does not work the same way when loading from a qvd.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bc5891_2-1605082379357.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43949i3D58CC6BA2EC5490/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bc5891_2-1605082379357.png" alt="bc5891_2-1605082379357.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the expression is as follows:&lt;/P&gt;&lt;P&gt;AGGR(&lt;BR /&gt;sum(total &amp;lt;SCH_EVENT_TYPE&amp;gt;{&amp;lt;SCH_YEAR_GROUP = {'Within Yr'}&amp;gt;}SCH_AMOUNT)/1000000&lt;BR /&gt;-&lt;BR /&gt;RangeSum(Above(sum(SCH_AMOUNT)/1000000, 0, RowNo()-1))&lt;BR /&gt;, SCH_EVENT_TYPE, SCH_YEAR_GROUP)&lt;/P&gt;&lt;P&gt;in this I am taking the full value of the initial amount at the first time interval, and then in the next time intervals I only display the remaining values, i.e. the number should always decrease over time.&amp;nbsp; When loading the exact same thing from the qvd though I get the following chart:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bc5891_3-1605082407561.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43950i3314853E750728C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bc5891_3-1605082407561.png" alt="bc5891_3-1605082407561.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question is:&amp;nbsp; has anyone come across this sort of behaviour before, is it a bug?&lt;/P&gt;&lt;P&gt;I cannot share the application but can assure you that the only difference between the two charts is that one is from a qvd and the other is not, both have the same number of rows and fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 14:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Front-End-AGGR-expression-acts-differently-depending-on-loading/m-p/1760576#M3895</guid>
      <dc:creator>bc5891</dc:creator>
      <dc:date>2025-07-23T14:48:52Z</dc:date>
    </item>
  </channel>
</rss>

