<?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 Order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84945#M13979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny.&lt;/P&gt;&lt;P&gt;It is perfect&amp;nbsp; and works fine though It is difficult for me to undestand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 May 2018 02:31:41 GMT</pubDate>
    <dc:creator>upaliwije</dc:creator>
    <dc:date>2018-05-27T02:31:41Z</dc:date>
    <item>
      <title>Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84931#M13965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a pivot table in my QV document which is attached herewit. In my pivot tbale I want to sort Dept based on growth rate of 2017. However though Department are sorted in correct way against Dept 'A' other two dept take a different order. Kidnly help me to sort out this issue. My correct table should look like shown below.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203368_Screenshot_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 10:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84931#M13965</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-05-24T10:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84932#M13966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you wanted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203377_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following calculated dimension instead of using DEPT as your dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;=Aggr(Dual(DEPT,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Rank((SUM({&amp;lt;YEAR={"$(=MAX([YEAR]))"}&amp;gt;}AMOUNT)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;-SUM({&amp;lt;YEAR={"$(=MAX([YEAR])-1)"}&amp;gt;}AMOUNT))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;/SUM({&amp;lt;YEAR={"$(=MAX([YEAR])-1)"}&amp;gt;}AMOUNT)*100)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Rank(SUM({&amp;lt;YEAR={"$(=MAX([YEAR]))"}&amp;gt;}AMOUNT))/1E10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Aggr(NODISTINCT Rank(CLASS), CLASS) *10000), CLASS, DEPT)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 11:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84932#M13966</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-24T11:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84933#M13967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny,&lt;/P&gt;&lt;P&gt;It works . But I do not understand division by &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/1E10. &lt;/STRONG&gt;Pls explain.&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/STRONG&gt;The other issue is I have more than 10 DEPT in my real data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84933#M13967</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-05-24T16:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84934#M13968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) 1E10 = 10,000,000,000 -&amp;gt; I am dividing &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Rank(SUM({&amp;lt;YEAR={"$(=MAX([YEAR]))"}&amp;gt;}AMOUNT)) &lt;/STRONG&gt;by that number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You have 10 DEPT? So, what is the problem with that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84934#M13968</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-24T16:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84935#M13969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my real data I get row od data without a branch as shown below&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203432_Screenshot_1.png" style="height: 148px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;That Last row has no branch . What could be the reason Sunny please ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84935#M13969</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-05-24T16:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84936#M13970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure... is that a needed row or do you not want to see it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84936#M13970</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-24T16:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84937#M13971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is not needed . when I select a month in my list box I get this blank row. In fact my expression is coupled with month in my real data.&lt;/P&gt;&lt;P&gt;Sum( {$&amp;lt;YEAR ={"$(=MAX([YEAR]))"},MONTH={"&amp;lt;=$(=max(MONTH))"}&amp;gt;}[PREMIUM] )&lt;/P&gt;&lt;P&gt;Is it due to that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84937#M13971</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-05-24T16:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84938#M13972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;coupled? Not sure I understand....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to hide the null row, just select 'Suppress When Value is Null' for the second dimensions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84938#M13972</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-24T16:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84939#M13973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Friend I will send sample of my real data. So that you can have a look please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84939#M13973</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-05-24T16:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84940#M13974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;okay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84940#M13974</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-24T16:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84941#M13975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my real data. Pls look into this and help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 17:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84941#M13975</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-05-24T17:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84942#M13976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you want? No more nulls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203433_Capture.PNG" style="height: 336px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 17:27:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84942#M13976</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-24T17:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84943#M13977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not excatly I want. Whne you view the pivot table without selecting month there no null values. all values are associated with a Branch. Only when I select&amp;nbsp; amonth the problem comes. What I want is to not to have any null value when I select a month without supressing Zero Values. Pls help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 03:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84943#M13977</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-05-25T03:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84944#M13978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;=Aggr(Dual(Only({&amp;lt;MONTH, YEAR&amp;gt;}BCOD),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Rank((SUM({&amp;lt;YEAR={"$(=MAX([YEAR])-1)"}, MONTH&amp;gt;}PREMIUM)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;-SUM({&amp;lt;YEAR={"$(=MAX([YEAR])-2)"}, MONTH&amp;gt;}PREMIUM))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;/SUM({&amp;lt;YEAR={"$(=MAX([YEAR])-2)"}, MONTH&amp;gt;}PREMIUM)*100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Rank(SUM({&amp;lt;YEAR={"$(=MAX([YEAR])-1)"}, MONTH&amp;gt;}PREMIUM))/1E7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Only({&amp;lt;MONTH, YEAR&amp;gt;}Aggr(NODISTINCT Rank(Only({&amp;lt;MONTH, YEAR&amp;gt;}CLASS)), CLASS)) *1000000)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;), CLASS, BCOD)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 11:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84944#M13978</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-25T11:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84945#M13979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny.&lt;/P&gt;&lt;P&gt;It is perfect&amp;nbsp; and works fine though It is difficult for me to undestand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 May 2018 02:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Order/m-p/84945#M13979</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-05-27T02:31:41Z</dc:date>
    </item>
  </channel>
</rss>

