<?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 Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204466#M387272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't this what you want?&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/140012_Capture.PNG" style="height: 501px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2016 15:53:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-07T15:53:53Z</dc:date>
    <item>
      <title>Sorting Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204461#M387267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The requirement is :&lt;/P&gt;&lt;P&gt;I want to show all the values above 1000 as- 1K for 1000, 26K for 26000 etc.&lt;/P&gt;&lt;P&gt;And all values below 1000 as it is.&lt;/P&gt;&lt;P&gt;I am using the following expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Number&amp;gt;1000,num(Number/1000,'###.0K'),num(Number,'###,##'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But when i double click on the label to sort, the order is not right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139822_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 08:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204461#M387267</guid>
      <dc:creator>chhavi376</dc:creator>
      <dc:date>2016-10-06T08:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204462#M387268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use Dual(text,number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression will be :&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;1000,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;dual&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/1000,'###.0K'),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Dual&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'###,##'),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 19:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204462#M387268</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-10-06T19:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204463#M387269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Dual(&lt;/SPAN&gt;If(Number &amp;gt; 1000, Num(Number/1000, '###.0K'), Num(Number,'###,##'))&lt;SPAN style="color: #ff0000;"&gt;, Number)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 20:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204463#M387269</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-06T20:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204464#M387270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the attached QVW.&lt;/P&gt;&lt;P&gt;The sorting is wrong even after using DUAL.&lt;/P&gt;&lt;P&gt;I have tried both the expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 05:27:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204464#M387270</guid>
      <dc:creator>chhavi376</dc:creator>
      <dc:date>2016-10-07T05:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204465#M387271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached the QVW. &lt;/P&gt;&lt;P&gt;Please have a look.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 05:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204465#M387271</guid>
      <dc:creator>chhavi376</dc:creator>
      <dc:date>2016-10-07T05:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204466#M387272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't this what you want?&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/140012_Capture.PNG" style="height: 501px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 15:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204466#M387272</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T15:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204467#M387273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;This works right. (Y)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured out another solution as well,&lt;/P&gt;&lt;P&gt;i.e, adding the expression as dimension, and then writing an expression in the 'sort' of the dimension. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 10:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Issue/m-p/1204467#M387273</guid>
      <dc:creator>chhavi376</dc:creator>
      <dc:date>2016-11-02T10:12:34Z</dc:date>
    </item>
  </channel>
</rss>

