<?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: Custom sort in staright table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-staright-table/m-p/1851469#M1215665</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I'm already using an IF expression to color the bars per company (NCIA &lt;A class="waffle-rich-text-link" href="https://mythdhr.vip/" target="_blank"&gt;https://mythdhr.vip/&lt;/A&gt;).&amp;nbsp;The reason I like this is besides your custom sort order for high &lt;A class="waffle-rich-text-link" href="https://mycoles.vip/" target="_blank"&gt;https://mycoles.vip/&lt;/A&gt;, medium and low it can be used for things like January.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Oct 2021 17:43:57 GMT</pubDate>
    <dc:creator>Kasey001</dc:creator>
    <dc:date>2021-10-25T17:43:57Z</dc:date>
    <item>
      <title>Custom sort in staright table</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-staright-table/m-p/1800743#M1211655</link>
      <description>&lt;P&gt;Hi i have table below with Risk as dimension and other as Expression.&lt;/P&gt;&lt;P&gt;I want sorting by Inherent/Residual col - by custom sort (it should be H-M-L)&lt;/P&gt;&lt;P&gt;i am trying to put match(Inherent,'H','M','L')in Sorting tab but dont know why the option is disabled .&lt;/P&gt;&lt;P&gt;even i tried removing # col - which is showing Rowno()&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PreranaLH_0-1618888020625.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53261iC17C5250F523A869/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PreranaLH_0-1618888020625.png" alt="PreranaLH_0-1618888020625.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 03:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-staright-table/m-p/1800743#M1211655</guid>
      <dc:creator>PreranaLH</dc:creator>
      <dc:date>2021-04-20T03:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in staright table</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-staright-table/m-p/1801820#M1211766</link>
      <description>&lt;P&gt;You have a couple of other options that don't involve any expressions for sorting so that things are faster.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Force the sort order you want using an Inline table that builds the field in the order that you wish like this. Notice that I pre-build just the field(s) I want in its own table, load them in the manner I wish and then drop the forced table since the field is already now stored:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;InherentSort:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Inherent&lt;BR /&gt;L&lt;BR /&gt;M&lt;BR /&gt;H&lt;BR /&gt;];&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Data:&lt;BR /&gt;Load * Inline[&lt;BR /&gt;Field1, Field2, Inherent, Residual&lt;BR /&gt;A, 19, H, M&lt;BR /&gt;B, 29, L, H&lt;BR /&gt;C, 30, M, M&lt;BR /&gt;D, 31, H, L&lt;BR /&gt;];&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Drop Table InherentSort;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Then all you have to do is declare for the field you want to use the "Load Order"&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SortByLoadOrder.png" style="width: 623px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53488i1DA35D935A0BE049/image-size/large?v=v2&amp;amp;px=999" role="button" title="SortByLoadOrder.png" alt="SortByLoadOrder.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. The second option takes advantage of the DUAL datatype. It allows you to maintain a STRING version of your field as well as a NUMERIC version of your field. For flags you can have "Yes"/1 and "No"/0. For things like custom sort orders the number works great for sorting. The reason I like this is besides your custom sort order for high, medium and low it can be used for things like January and April when sorting months. Notice that I simply used your expression during the load script to generate the number I want stored for the numeric part.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Data:&lt;BR /&gt;Load Field1, Field2, &lt;STRONG&gt;Dual&lt;/STRONG&gt;(Inherent, Match(Inherent,'H','M','L')) as Inherent, &lt;STRONG&gt;Dual&lt;/STRONG&gt;(Residual, Match(Residual,'H','M','L')) as Residual;&lt;BR /&gt;Load * Inline[&lt;BR /&gt;Field1, Field2, Inherent, Residual&lt;BR /&gt;A, 19, H, M&lt;BR /&gt;B, 29, L, H&lt;BR /&gt;C, 30, M, M&lt;BR /&gt;D, 31, H, L&lt;BR /&gt;];&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Then you just need to say sort numeric&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SortNumeric.png" style="width: 643px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53489i2CBA02C228BD6755/image-size/large?v=v2&amp;amp;px=999" role="button" title="SortNumeric.png" alt="SortNumeric.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 14:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-staright-table/m-p/1801820#M1211766</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2021-04-22T14:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in staright table</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-staright-table/m-p/1802187#M1211803</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm already using an IF expression to color the bars per company (NCIA)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 14:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-staright-table/m-p/1802187#M1211803</guid>
      <dc:creator>Ryan4</dc:creator>
      <dc:date>2021-04-23T14:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sort in staright table</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-sort-in-staright-table/m-p/1851469#M1215665</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm already using an IF expression to color the bars per company (NCIA &lt;A class="waffle-rich-text-link" href="https://mythdhr.vip/" target="_blank"&gt;https://mythdhr.vip/&lt;/A&gt;).&amp;nbsp;The reason I like this is besides your custom sort order for high &lt;A class="waffle-rich-text-link" href="https://mycoles.vip/" target="_blank"&gt;https://mycoles.vip/&lt;/A&gt;, medium and low it can be used for things like January.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 17:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-sort-in-staright-table/m-p/1851469#M1215665</guid>
      <dc:creator>Kasey001</dc:creator>
      <dc:date>2021-10-25T17:43:57Z</dc:date>
    </item>
  </channel>
</rss>

