<?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 Sorting in Pivot table - QV in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table-QV/m-p/1297059#M838979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have pivot table with the following coulmns (attached example):&lt;/P&gt;&lt;P&gt;User, Vendor Num , Vendor Name , Date , Oreder Num , Amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sorting the table by the totals of field amount (expression field) group by User,Vendor Num , &lt;SPAN style="font-size: 13.3333px;"&gt;Vendor Name , Date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The field that exists in sort Tab are (attached): Order Num , User , Vendor Num , Date , Vendor Name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to insert in sort by Expression : &lt;/P&gt;&lt;P&gt;Aggr(Sum({&amp;lt;Year=&amp;gt;} OrderAmount_$(vCurrency) ) /$(vPrecision) ,&lt;SPAN style="font-size: 13.3333px;"&gt;User,Vendor Num , &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Vendor Name , Date&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't sorting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please advise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>RutiTaumanRubin</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Sorting in Pivot table - QV</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table-QV/m-p/1297059#M838979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have pivot table with the following coulmns (attached example):&lt;/P&gt;&lt;P&gt;User, Vendor Num , Vendor Name , Date , Oreder Num , Amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sorting the table by the totals of field amount (expression field) group by User,Vendor Num , &lt;SPAN style="font-size: 13.3333px;"&gt;Vendor Name , Date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The field that exists in sort Tab are (attached): Order Num , User , Vendor Num , Date , Vendor Name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to insert in sort by Expression : &lt;/P&gt;&lt;P&gt;Aggr(Sum({&amp;lt;Year=&amp;gt;} OrderAmount_$(vCurrency) ) /$(vPrecision) ,&lt;SPAN style="font-size: 13.3333px;"&gt;User,Vendor Num , &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Vendor Name , Date&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't sorting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please advise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&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/Sorting-in-Pivot-table-QV/m-p/1297059#M838979</guid>
      <dc:creator>RutiTaumanRubin</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in Pivot table - QV</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table-QV/m-p/1297060#M838982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Ruti!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result of "aggr(sum(... " is the set of aggregated fields, in your instance it is values of sum aggregated by specified fields. It can be siutable within dimensions. Nor expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use "sum(aggr(..." or "sum(aggr(sum(...".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 07:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table-QV/m-p/1297060#M838982</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-05-08T07:29:40Z</dc:date>
    </item>
  </channel>
</rss>

