<?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 How to Sort in Pivot ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Sort-in-Pivot/m-p/146838#M25339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello dear Friends of QV ,&lt;/P&gt;&lt;P&gt;I need to know how to create a sort by Exoression value in Pivot tabke.&lt;/P&gt;&lt;P&gt;From this table:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;BR /&gt;&lt;BR /&gt;salesman, qty, amount&lt;BR /&gt;Eric, 100, 2000&lt;BR /&gt;Paul, 2100, 2000&lt;BR /&gt;Slash, 5000, 7520&lt;BR /&gt;Fred, 800, 158&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;I build a pivot table..&lt;/P&gt;&lt;P&gt;I need to create a list box with ascending and descending value and cliking in this list box I would to sort by QTY ?&lt;/P&gt;&lt;P&gt;Someone could to help me?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2009 23:52:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-15T23:52:12Z</dc:date>
    <item>
      <title>How to Sort in Pivot ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Sort-in-Pivot/m-p/146838#M25339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello dear Friends of QV ,&lt;/P&gt;&lt;P&gt;I need to know how to create a sort by Exoression value in Pivot tabke.&lt;/P&gt;&lt;P&gt;From this table:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;BR /&gt;&lt;BR /&gt;salesman, qty, amount&lt;BR /&gt;Eric, 100, 2000&lt;BR /&gt;Paul, 2100, 2000&lt;BR /&gt;Slash, 5000, 7520&lt;BR /&gt;Fred, 800, 158&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;I build a pivot table..&lt;/P&gt;&lt;P&gt;I need to create a list box with ascending and descending value and cliking in this list box I would to sort by QTY ?&lt;/P&gt;&lt;P&gt;Someone could to help me?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 23:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Sort-in-Pivot/m-p/146838#M25339</guid>
      <dc:creator />
      <dc:date>2009-06-15T23:52:12Z</dc:date>
    </item>
    <item>
      <title>How to Sort in Pivot ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Sort-in-Pivot/m-p/146839#M25340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached a sample app using the data you provided.&lt;/P&gt;&lt;P&gt;There is a macro which runs during the OnSelect of the Sort By field. The Sort By field is an inline having Descending or Ascending with One Always selected.&lt;/P&gt;&lt;P&gt;In the macro, we change the SortByExpression property (which controls sort order) depending on which is selected.&lt;/P&gt;&lt;P&gt;I use a variable set to "=GetFieldSelections("Sort By")" to hold the selection in the Sort By box. This could probably be skipped and all handled within the macro, but I think using a variable makes it a little easier to follow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 00:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Sort-in-Pivot/m-p/146839#M25340</guid>
      <dc:creator />
      <dc:date>2009-06-16T00:16:21Z</dc:date>
    </item>
    <item>
      <title>How to Sort in Pivot ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Sort-in-Pivot/m-p/146840#M25341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;You used API code ...&lt;/P&gt;&lt;P&gt;Do you think is possible to use sql script?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt; Slash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 00:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Sort-in-Pivot/m-p/146840#M25341</guid>
      <dc:creator />
      <dc:date>2009-06-16T00:51:18Z</dc:date>
    </item>
  </channel>
</rss>

