<?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: sortable Aggr function issue? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431253#M808652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It just needed a bracket correction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aggr(rangesum(Above(TOTAL (sum(TotalNetPrice)/sum(TOTAL TotalNetPrice)),0,RowNo(Total))),(Article,(= sum(TotalNetPrice)/sum(TOTAL TotalNetPrice), Desc)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Oct 2017 05:14:33 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2017-10-11T05:14:33Z</dc:date>
    <item>
      <title>sortable Aggr function issue?</title>
      <link>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431250#M808649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to achieve Sorting aggr function in my expression and it's not working. can you advise me how to achieve the below expected output. thanks.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=aggr(rangesum(Above(TOTAL (sum(TotalNetPrice)/sum(TOTAL TotalNetPrice)),0,RowNo(Total))),&lt;SPAN style="color: #ff0000;"&gt;(Article,(= sum(TotalNetPrice)/sum(TOTAL &amp;lt;Article&amp;gt; TotalNetPrice)), Desc))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: need to apply sort only in the expression, because report display based on other columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cumulative % sort by Sales% Calculated measure.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="179195" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179195_Capture.JPG" style="height: 396px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;tried with below article,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4673" target="_blank"&gt;The sortable Aggr function is finally here!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Deva&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/sortable-Aggr-function-issue/m-p/1431250#M808649</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: sortable Aggr function issue?</title>
      <link>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431251#M808650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no field called Desc and why are you using&amp;nbsp; a expression &lt;STRONG style="color: #ff0000;"&gt;,(= sum(TotalNetPrice)/sum(TOTAL &amp;lt;Article&amp;gt; TotalNetPrice)), &lt;/STRONG&gt; as dimension in aggr function&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 04:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431251#M808650</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2017-10-11T04:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: sortable Aggr function issue?</title>
      <link>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431252#M808651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It's sort criteria (ASC or DESC order), so in my output it should be Desc order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 04:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431252#M808651</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-10-11T04:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: sortable Aggr function issue?</title>
      <link>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431253#M808652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It just needed a bracket correction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aggr(rangesum(Above(TOTAL (sum(TotalNetPrice)/sum(TOTAL TotalNetPrice)),0,RowNo(Total))),(Article,(= sum(TotalNetPrice)/sum(TOTAL TotalNetPrice), Desc)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 05:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431253#M808652</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-11T05:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: sortable Aggr function issue?</title>
      <link>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431254#M808653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Aggr() dimensions must be fields, not expressions. As far as I know, this has not changed with the 'structured parameters' of the sortable Aggr(). From the help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax_heading" data-mc-autonum="Syntax: " style="font-size: 14px; margin: 10px 0; font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;SPAN class="autonumber"&gt;Syntax: &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax" data-mc-conditions="Targets.NotToTranslate" style="font-size: 16px; margin: 10px 0; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f; background-color: #f4f4f4;"&gt;&lt;SPAN class="script_token" style="font-weight: bold; font-size: 12px;"&gt;Aggr(&lt;/SPAN&gt;&lt;SPAN class="bnf_token" style="font-size: 12px;"&gt;{SetExpression}[&lt;SPAN class="script_token" style="font-weight: bold;"&gt;DISTINCT&lt;/SPAN&gt;] [&lt;SPAN class="script_token" style="font-weight: bold;"&gt;NODISTINCT&lt;/SPAN&gt; ] expr, StructuredParameter{,StructuredParameter}&lt;/SPAN&gt;&lt;SPAN class="statement" style="font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax" data-mc-conditions="Targets.NotToTranslate" style="font-size: 16px; margin: 10px 0; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f; background-color: #f4f4f4;"&gt;&lt;SPAN class="statement" style="font-weight: bold;"&gt;...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 14px; margin: 0 0 5px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;A structured parameter is composed of a dimension and optionally of some sort criteria.&lt;/P&gt;&lt;P style="font-size: 14px; margin: 0 0 5px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;The dimension is a single field and cannot be an expression. The dimension is used to determine the array of values the expression should apply to.&lt;/P&gt;&lt;P style="font-size: 14px; margin: 0 0 5px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px; margin: 0 0 5px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;A href="http://help.qlik.com/en-US/sense/2.2/Subsystems/Hub/Content/ChartFunctions/aggr.htm?_ga=2.120276608.902528330.1507610550-806821483.1492499289" title="http://help.qlik.com/en-US/sense/2.2/Subsystems/Hub/Content/ChartFunctions/aggr.htm?_ga=2.120276608.902528330.1507610550-806821483.1492499289"&gt;Aggr - chart function ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 05:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431254#M808653</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-10-11T05:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: sortable Aggr function issue?</title>
      <link>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431255#M808654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry my bad I am using Qlikview 11 version which prompted the error . Considering the expression&amp;nbsp; you have used&lt;/P&gt;&lt;P&gt;below how do you get the&amp;nbsp; 78% ,82% for the article 30270006, 20780203&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr(rangesum(Above(TOTAL (sum(TotalNetPrice)/sum(TOTAL TotalNetPrice)),0,RowNo(Total))),Article)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 05:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sortable-Aggr-function-issue/m-p/1431255#M808654</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2017-10-11T05:24:56Z</dc:date>
    </item>
  </channel>
</rss>

