<?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 a pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-a-pivot/m-p/1637666#M732117</link>
    <description>&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Good day community&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;I have another challenge where I need to sort a pivot table using expressions. I know this works in a straight table and not a pivot. I've looked through the Qlikview pages and I cant seem to find any example that is easier to understand. So basically what I want is that a selection of a list box needs to sort the pivot table on expression. Currently the selection&amp;nbsp; shows and hides the table, meaning I have 5 different pivot tables that show and get hidden depending on the selection. So I want the same selection to also sort the table by expression when it gets displayed e.g. If&amp;nbsp; a user selects&amp;nbsp;&lt;STRONG&gt;Budget Var %, &lt;/STRONG&gt;the chart needs to sort by Budget Var % column either ascending or descending.&amp;nbsp; Also note that the expressions are Cyclic as well.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Please see the attached screenshot for details and any help is greatly appreciated.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Matlotlo&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21985i0E13EE132129E9C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>nkosinde13</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Sorting a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-a-pivot/m-p/1637666#M732117</link>
      <description>&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Good day community&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;I have another challenge where I need to sort a pivot table using expressions. I know this works in a straight table and not a pivot. I've looked through the Qlikview pages and I cant seem to find any example that is easier to understand. So basically what I want is that a selection of a list box needs to sort the pivot table on expression. Currently the selection&amp;nbsp; shows and hides the table, meaning I have 5 different pivot tables that show and get hidden depending on the selection. So I want the same selection to also sort the table by expression when it gets displayed e.g. If&amp;nbsp; a user selects&amp;nbsp;&lt;STRONG&gt;Budget Var %, &lt;/STRONG&gt;the chart needs to sort by Budget Var % column either ascending or descending.&amp;nbsp; Also note that the expressions are Cyclic as well.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Please see the attached screenshot for details and any help is greatly appreciated.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Matlotlo&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21985i0E13EE132129E9C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-a-pivot/m-p/1637666#M732117</guid>
      <dc:creator>nkosinde13</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-a-pivot/m-p/1637672#M732118</link>
      <description>&lt;P&gt;in tab sort&lt;/P&gt;&lt;P&gt;biff expresion&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Oct 2019 09:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-a-pivot/m-p/1637672#M732118</guid>
      <dc:creator>florentina_doga</dc:creator>
      <dc:date>2019-10-21T09:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-a-pivot/m-p/1637701#M732119</link>
      <description>&lt;P&gt;Hi Florentina&lt;/P&gt;&lt;P&gt;Thank you for the quick response.&lt;/P&gt;&lt;P&gt;kindly note that I did put in the expression on Sort tab but it's not working. My expression is as follows and this is exactly what I put on sort tab: Or do you mean I should modify the expression&amp;nbsp; on sorting to something else?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Sum({&amp;lt;$(eSetFYTD_CN)&amp;gt;}Amount) / $(ThouMenu)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;/&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;(Sum(Budget) / $(ThouMenu))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matlotlo&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 10:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-a-pivot/m-p/1637701#M732119</guid>
      <dc:creator>nkosinde13</dc:creator>
      <dc:date>2019-10-21T10:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-a-pivot/m-p/1637725#M732120</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I found that I needed to wrap the Expression inside the AGGR() function using the dimensions of the Pivot table.&lt;/P&gt;&lt;P&gt;Give that a try.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 10:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-a-pivot/m-p/1637725#M732120</guid>
      <dc:creator>atoz1158</dc:creator>
      <dc:date>2019-10-21T10:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-a-pivot/m-p/1640805#M732121</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Matlotlo, did Adrian's post help you get things working as you wish?&amp;nbsp; If so, do not forget to come back and give credit by using the Accept as Solution button on the post and to let others know things did work.&amp;nbsp; If you still need further help, leave an update on where you are with things.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here is a Help link that may be helpful in this case regarding the AGGR function Adrian mentioned, it may help you get the hang of things if you are still working on them:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Brett&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 12:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-a-pivot/m-p/1640805#M732121</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-29T12:52:43Z</dc:date>
    </item>
  </channel>
</rss>

