<?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 Ordering a Pivot table like a straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147335#M25767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no standard way to do this.&lt;/P&gt;&lt;P&gt;One solution is to also make a straight table. You can then switch between the straight table (for sorting) and the pivot table (for hierarchical view).&lt;/P&gt;&lt;P&gt;If you realy want to make it look like you can change the sorting on a pivot table, you can alse do the following:&lt;/P&gt;&lt;P&gt;You can create 2 or more pivot tables that are exactly the same (also the same position!) except for the sorting. When you have created all the pivot tables (sortings) that you need, you need to set up a mechanism to show only one of your pivot tables at once.&lt;/P&gt;&lt;P&gt;There are a couple of different ways to switch between your pivot tables: 1 example (short overview): create a field (as data island) that you can use to select a sorting. You can then test in "Show Condition" of your different graphs when to show the wright graph. (make use of HidePrefix in your script for this field)&lt;/P&gt;&lt;P&gt;In QV 9 you can also try to do this with Actions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2009 18:28:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-06-22T18:28:15Z</dc:date>
    <item>
      <title>Ordering a Pivot table like a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147334#M25766</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 noticed in a straight table you can double click on a column and sort the whole table by that variable. is there any way to add this type of function to a pivot so it can be sorted by a particular variable?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 12:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147334#M25766</guid>
      <dc:creator />
      <dc:date>2009-06-22T12:07:03Z</dc:date>
    </item>
    <item>
      <title>Ordering a Pivot table like a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147335#M25767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no standard way to do this.&lt;/P&gt;&lt;P&gt;One solution is to also make a straight table. You can then switch between the straight table (for sorting) and the pivot table (for hierarchical view).&lt;/P&gt;&lt;P&gt;If you realy want to make it look like you can change the sorting on a pivot table, you can alse do the following:&lt;/P&gt;&lt;P&gt;You can create 2 or more pivot tables that are exactly the same (also the same position!) except for the sorting. When you have created all the pivot tables (sortings) that you need, you need to set up a mechanism to show only one of your pivot tables at once.&lt;/P&gt;&lt;P&gt;There are a couple of different ways to switch between your pivot tables: 1 example (short overview): create a field (as data island) that you can use to select a sorting. You can then test in "Show Condition" of your different graphs when to show the wright graph. (make use of HidePrefix in your script for this field)&lt;/P&gt;&lt;P&gt;In QV 9 you can also try to do this with Actions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 18:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147335#M25767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-22T18:28:15Z</dc:date>
    </item>
    <item>
      <title>Ordering a Pivot table like a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147336#M25768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to add a little...&lt;BR /&gt;Pivot table is sorted by the order of its Dimensions, so there is no much flexibility if you don't want to move dimensions around. But keep in mind that a Dimension can be sorted by text ascending or descending, by frequenst, by expression, etc. So, to create a "dynamic sorting", you can use a macro button which accesses the pivot table properties and changes the sorting parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 23:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147336#M25768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-22T23:59:36Z</dc:date>
    </item>
    <item>
      <title>Ordering a Pivot table like a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147337#M25769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;I haven't tried this solution because I try to avoid macro's whenever possible. But sometime macro's are indeed the best solution in QlikView.&lt;/P&gt;&lt;P&gt;Do you prefer the macro solution, or the solution I presented above? Does it perform well when working client/server?&lt;/P&gt;&lt;P&gt;I'm always intrested in other QlikView developers best practices.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2009 03:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147337#M25769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-23T03:40:30Z</dc:date>
    </item>
    <item>
      <title>Ordering a Pivot table like a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147338#M25770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kris,&lt;BR /&gt;My "best practices" are:&lt;BR /&gt;1. Keep it simple &lt;IMG alt="Cool" src="http://community.qlik.com/emoticons/emotion-11.gif" /&gt;&lt;BR /&gt;2. Avoid macros is possible (almost never so far &lt;IMG alt="Confused" src="http://community.qlik.com/emoticons/emotion-42.gif" /&gt;). Especially macros that change object properies. But sometimes they make life easier.&lt;BR /&gt;3. Do the way what is better for the client...&lt;BR /&gt;So, regaring your question, the answer (as it is often with QV) - it depends. Don't remember if I used this paricular (pivot sorting) macro in client/server, sorry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2009 03:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147338#M25770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-23T03:47:31Z</dc:date>
    </item>
    <item>
      <title>Ordering a Pivot table like a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147339#M25771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Except that you can't sort a dimension using an expression (other than the 1st dimension)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 03:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147339#M25771</guid>
      <dc:creator />
      <dc:date>2010-08-16T03:35:38Z</dc:date>
    </item>
    <item>
      <title>Ordering a Pivot table like a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147340#M25772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shortly after this discussion I uploaded &lt;A href="http://community.qlik.com/media/p/68595.aspx"&gt;this&lt;/A&gt;.&lt;BR /&gt;(Just happened so that I needed a solution for a client, and came up with this.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 13:42:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ordering-a-Pivot-table-like-a-straight-table/m-p/147340#M25772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-18T13:42:09Z</dc:date>
    </item>
  </channel>
</rss>

