<?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: split an aggr function by non aggregate dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/split-an-aggr-function-by-non-aggregate-dimension/m-p/1834653#M68921</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;may be this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum( TOTAL Aggr( Rangesum(Above(Sum(Sales),0,12)), (Year, (Numeric, Ascending)), (Month, (Numeric, Ascending)) ))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Sep 2021 12:50:18 GMT</pubDate>
    <dc:creator>brunobertels</dc:creator>
    <dc:date>2021-09-08T12:50:18Z</dc:date>
    <item>
      <title>split an aggr function by non aggregate dimension</title>
      <link>https://community.qlik.com/t5/App-Development/split-an-aggr-function-by-non-aggregate-dimension/m-p/1834605#M68912</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I've a problemn with an aggr function. I hope I could explain myself.&lt;/P&gt;&lt;P&gt;What we want is to "split" the results of an aggr function by one dimension that was not used in aggregation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean, using the data and aggr function used as example in&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/May2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/aggr.htm?l=en-EN" target="_blank" rel="noopener"&gt;Qlik Help&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Sum(Aggr( Rangesum(Above(Sum(Sales),0,12)), (Year, (Numeric, Ascending)), (Month, (Numeric, Ascending)) ))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;if I try to show a table with Year, Month and OrderID as dimensions, all rows but one per year/month shows zeros.&lt;/P&gt;&lt;P&gt;This is the table with Year and Month dimensions:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GestionPSD_0-1631099057931.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/61567iDFE017CF205B7579/image-size/large?v=v2&amp;amp;px=999" role="button" title="GestionPSD_0-1631099057931.png" alt="GestionPSD_0-1631099057931.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, when I add OrderID as dimension:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GestionPSD_1-1631099128984.png" style="width: 881px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/61568iBCD8B9B542C86453/image-size/large?v=v2&amp;amp;px=999" role="button" title="GestionPSD_1-1631099128984.png" alt="GestionPSD_1-1631099128984.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What we want is to populate all these rows. I mean, What I want is something like if I were using a bunch of aggr functions, one for each OrderID aggregating by Year &amp;amp; Month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Alonso Torres&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 11:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/split-an-aggr-function-by-non-aggregate-dimension/m-p/1834605#M68912</guid>
      <dc:creator>Gestion-PSD</dc:creator>
      <dc:date>2021-09-08T11:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: split an aggr function by non aggregate dimension</title>
      <link>https://community.qlik.com/t5/App-Development/split-an-aggr-function-by-non-aggregate-dimension/m-p/1834653#M68921</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;may be this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum( TOTAL Aggr( Rangesum(Above(Sum(Sales),0,12)), (Year, (Numeric, Ascending)), (Month, (Numeric, Ascending)) ))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 12:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/split-an-aggr-function-by-non-aggregate-dimension/m-p/1834653#M68921</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2021-09-08T12:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: split an aggr function by non aggregate dimension</title>
      <link>https://community.qlik.com/t5/App-Development/split-an-aggr-function-by-non-aggregate-dimension/m-p/1834917#M68938</link>
      <description>&lt;P&gt;Hi Bruno&lt;/P&gt;&lt;P&gt;It doesn't work.&lt;/P&gt;&lt;P&gt;With TOTAL in that position, the table shows te total sum (4123876) in all rows.&lt;/P&gt;&lt;P&gt;Moreover, if I try to put "Total" modifier after Rangesum(, the result is all zeros; and if I try to put it as sum(total Sales), results are also wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alonso Torres.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 10:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/split-an-aggr-function-by-non-aggregate-dimension/m-p/1834917#M68938</guid>
      <dc:creator>Gestion-PSD</dc:creator>
      <dc:date>2021-09-09T10:01:59Z</dc:date>
    </item>
  </channel>
</rss>

