<?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: List Box Sort in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/List-Box-Sort/m-p/1453107#M804726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to add your expression as&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Inv_Criticality = 'A', dual('Critical', 1)&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; if(Inv_Criticality = 'B', dual('Semi Critical',2),&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; if(Inv_Criticality = 'C', dual('Non Critical',3),&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dual( 'Others',4))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Nov 2017 13:27:05 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-11-11T13:27:05Z</dc:date>
    <item>
      <title>List Box Sort</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-Sort/m-p/1453106#M804725</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;In have the following expression in a list box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Inv_Criticality = 'A', 'Critical',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Inv_Criticality = 'B', 'Semi Critical',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Inv_Criticality = 'C', 'Non Critical',&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Others')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am struggling to sort in the following order which is &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Critical , Semi-Critical, Non Critical and Others.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following below when used Match&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Match(Inv_Criticality,'A','B','C','O')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="List box sort.JPG" class="jive-image image-1" src="/legacyfs/online/182916_List box sort.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-Sort/m-p/1453106#M804725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: List Box Sort</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-Sort/m-p/1453107#M804726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to add your expression as&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Inv_Criticality = 'A', dual('Critical', 1)&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; if(Inv_Criticality = 'B', dual('Semi Critical',2),&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; if(Inv_Criticality = 'C', dual('Non Critical',3),&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dual( 'Others',4))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Nov 2017 13:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-Sort/m-p/1453107#M804726</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-11T13:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: List Box Sort</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-Sort/m-p/1453108#M804727</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;maybe one solution might be to change your sorting expression to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;Inv_Criticality&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;,'C','B','A') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and sort in descending order.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_281331_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/182928_QlikCommunity_Thread_281331_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_281331_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182927_QlikCommunity_Thread_281331_Pic1.JPG" style="font-size: 13.3333px; height: auto; width: auto;" /&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>Sat, 11 Nov 2017 19:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-Sort/m-p/1453108#M804727</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-11-11T19:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: List Box Sort</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-Sort/m-p/1453109#M804728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Marco.&amp;nbsp; It worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Nov 2017 11:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-Sort/m-p/1453109#M804728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-12T11:08:45Z</dc:date>
    </item>
  </channel>
</rss>

