<?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: User Defined Pivot Sorting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857997#M300511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My final solution. Probably not the best but it seems to work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vFirstMonth is a variable (1 -12) the user can set using the InputBox at the bottom.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort Expression:&amp;nbsp; &lt;/P&gt;&lt;P&gt;=If([Calendar Month Number]-(vFirstMonth-1)&amp;gt;0,[Calendar Month Number]-(vFirstMonth-1),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Calendar Month Number]-(vFirstMonth-1)&amp;lt;=0,[Calendar Month Number]-(vFirstMonth-1)+12)&amp;nbsp; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-06-10_111044.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88969_2015-06-10_111044.jpg" style="height: 365px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2015 17:13:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-10T17:13:16Z</dc:date>
    <item>
      <title>User Defined Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857991#M300505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pivot chart that displays 12 months of sales data, with the months in columns and sorted according to our fiscal year (Sept through Aug). However, the users want to be able to dynamically change it so that any month can be the "first" month so that when they print or export the months line up with whatever the selected customer's fiscal year is. Has anyone ever done something like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 14:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857991#M300505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-09T14:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857992#M300506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand, could you post a sample QVW?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think sorting by a monthstart date would always show the correct chronologic order for the FY months available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they have a fiscal year Jan to Dec and resort your table, wouldn't they sort Jan 2016 before September 2015 then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 15:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857992#M300506</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-09T15:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857993#M300507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In our master calendar we have a field called Fiscal Month Number. It has 1 assigned to Sept, 2 to Oct, 12 to Aug. That field is used to sort the months in the pivot. But for some customers, Oct is their first fiscal month. Or April or January. So the users what to be able to use an input box where they can designate the month to use as month "1".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 15:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857993#M300507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-09T15:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857994#M300508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a sort expression for the dimension&lt;/P&gt;&lt;P&gt;=match([Fiscal Month Number], $(vSortList) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the user can basically define a comma separated list in variable vSortList input box to set the sort order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSortList = 5,6,7,8,9,10,11,12,1,2,3,4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only let select the first digit in variable vFirstMonth, then fill the list with some logic, maybe like this as vSortList variable expression&lt;/P&gt;&lt;P&gt;=pick(vFirstMonth,&lt;/P&gt;&lt;P&gt; '5,6,7,8,9,10,11,12,1,2,3,4',&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; '6,7,8,9,10,11,12,1,2,3,4,5',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; '7,8,9,10,11,12,1,2,3,4,5,6',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 15:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857994#M300508</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-09T15:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857995#M300509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 16:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857995#M300509</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-09T16:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857996#M300510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_167626_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88874_QlikCommunity_Thread_167626_Pic1.JPG" style="height: 354px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_167626_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/88875_QlikCommunity_Thread_167626_Pic2.JPG" style="height: 354px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_167626_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/88876_QlikCommunity_Thread_167626_Pic3.JPG" style="height: 354px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_167626_Pic4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/88877_QlikCommunity_Thread_167626_Pic4.JPG" style="height: 156px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 22:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857996#M300510</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-09T22:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857997#M300511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My final solution. Probably not the best but it seems to work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vFirstMonth is a variable (1 -12) the user can set using the InputBox at the bottom.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort Expression:&amp;nbsp; &lt;/P&gt;&lt;P&gt;=If([Calendar Month Number]-(vFirstMonth-1)&amp;gt;0,[Calendar Month Number]-(vFirstMonth-1),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Calendar Month Number]-(vFirstMonth-1)&amp;lt;=0,[Calendar Month Number]-(vFirstMonth-1)+12)&amp;nbsp; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-06-10_111044.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88969_2015-06-10_111044.jpg" style="height: 365px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 17:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857997#M300511</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-10T17:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857998#M300512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload an example ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 18:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857998#M300512</guid>
      <dc:creator />
      <dc:date>2015-06-10T18:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857999#M300513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, against company policy. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 18:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/857999#M300513</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-10T18:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/858000#M300514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3650"&gt;Scrambling Data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6075"&gt;Scrambling Data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 20:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Defined-Pivot-Sorting/m-p/858000#M300514</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-10T20:16:01Z</dc:date>
    </item>
  </channel>
</rss>

