<?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: Sorting in Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table/m-p/825153#M290661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana, you can use Dual() function when you're creating your Period values, this way you can sort Period dimension by number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In example:&lt;/P&gt;&lt;P&gt;If(Minutes&amp;lt;60, Dual('1 hour', 1),&lt;/P&gt;&lt;P&gt; If(Minutes &amp;lt;120, Dual('2 hours', 2),&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Minutes &amp;lt;240, Dual('4 hours', 3)... and so on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2015 10:29:28 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2015-03-31T10:29:28Z</dc:date>
    <item>
      <title>Sorting in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table/m-p/825151#M290659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table like :&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="82" src="https://community.qlik.com/legacyfs/online/82460_pastedImage_0.png" style="width: 758.805970149254px; height: 82px;" width="759" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to sort this table like 1 hour, 2 hours, 4 hours, 1 day......, 1 week....., 1 month etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tied like numeric sort and text sort, but it doesnt give me the desired result.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table/m-p/825151#M290659</guid>
      <dc:creator />
      <dc:date>2015-03-31T09:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table/m-p/825152#M290660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you attached your file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 10:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table/m-p/825152#M290660</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-03-31T10:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table/m-p/825153#M290661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana, you can use Dual() function when you're creating your Period values, this way you can sort Period dimension by number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In example:&lt;/P&gt;&lt;P&gt;If(Minutes&amp;lt;60, Dual('1 hour', 1),&lt;/P&gt;&lt;P&gt; If(Minutes &amp;lt;120, Dual('2 hours', 2),&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Minutes &amp;lt;240, Dual('4 hours', 3)... and so on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 10:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table/m-p/825153#M290661</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-03-31T10:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table/m-p/825154#M290662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've solved this problem using : =match([Period],'1 hour','2 hours','4 hours','6 hours','1 day', '2 days', '3 days', '4 days','1 week', '2 weeks', '3 weeks', '1 month', '2 months', '3 months')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in sort---&amp;gt; Expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 10:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-Pivot-table/m-p/825154#M290662</guid>
      <dc:creator />
      <dc:date>2015-03-31T10:36:14Z</dc:date>
    </item>
  </channel>
</rss>

