<?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: Sort order in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1822949#M9334</link>
    <description>&lt;P&gt;Hi Hanskaman,&lt;/P&gt;&lt;P&gt;Try with Dual() function if its only few articles and sort based on the number&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jul 2021 07:22:56 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2021-07-19T07:22:56Z</dc:date>
    <item>
      <title>Sort order</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1822750#M9327</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a table that has the following content:&lt;/P&gt;&lt;P&gt;Articlenumber&lt;/P&gt;&lt;P&gt;02010&lt;/P&gt;&lt;P&gt;04405&lt;/P&gt;&lt;P&gt;VE12345&lt;/P&gt;&lt;P&gt;19200&lt;/P&gt;&lt;P&gt;02012HT&lt;/P&gt;&lt;P&gt;I want to sort this on Articlenumber and expect the following order:&lt;/P&gt;&lt;P&gt;02010&lt;/P&gt;&lt;P&gt;02012HT&lt;/P&gt;&lt;P&gt;04405&lt;/P&gt;&lt;P&gt;19200&lt;/P&gt;&lt;P&gt;VE12345&lt;/P&gt;&lt;P&gt;The result that I actually get is:&lt;/P&gt;&lt;P&gt;02012HT&lt;/P&gt;&lt;P&gt;VE12345&lt;/P&gt;&lt;P&gt;19200&lt;/P&gt;&lt;P&gt;04405&lt;/P&gt;&lt;P&gt;02010&lt;/P&gt;&lt;P&gt;What can I do to get the wanted sort order?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 14:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1822750#M9327</guid>
      <dc:creator>hanskaman</dc:creator>
      <dc:date>2021-07-16T14:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1822863#M9328</link>
      <description>&lt;P&gt;Hi, have you tried to load it alphabetically? Select the object, go the properties on the right side, expand sort, disable auto, and disable all options but alphabetical&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jul 2021 07:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1822863#M9328</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-07-18T07:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1822932#M9333</link>
      <description>Yes I tried that, no success.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jul 2021 06:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1822932#M9333</guid>
      <dc:creator>hanskaman</dc:creator>
      <dc:date>2021-07-19T06:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1822949#M9334</link>
      <description>&lt;P&gt;Hi Hanskaman,&lt;/P&gt;&lt;P&gt;Try with Dual() function if its only few articles and sort based on the number&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 07:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1822949#M9334</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-07-19T07:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1822952#M9336</link>
      <description>&lt;P&gt;Hi, I tried and it didn't sort correctly initially because some values were loaded as number and others as text, if you convert all to text (using&amp;nbsp;LOAD Text(Articlenumber) as Articlenumber...) it shows as expected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rubenmarin_0-1626679082689.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58782i16BA8C3DFBEE0E97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rubenmarin_0-1626679082689.png" alt="rubenmarin_0-1626679082689.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another option can be sorting as expression using the ascii values with an expression like:&lt;/P&gt;&lt;P&gt;Ord(Left(Articlenumber,1))&amp;amp;Ord(Mid(Articlenumber,2,1))&amp;amp;Ord(Mid(Articlenumber,3,1))&amp;amp;Ord(Mid(Articlenumber,4,1))...&lt;/P&gt;&lt;P&gt;Using this kinf of expression will need some adjuntementes if there are lowercase or other symbols in codes,a lso ther is a limit in the length of the number generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 07:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1822952#M9336</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-07-19T07:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1823018#M9338</link>
      <description>&lt;P&gt;Thank you for your answer. I tried the option with LOAD Text(articlenumber,….)&lt;/P&gt;&lt;P&gt;At first look this was not correct. Then I made a new Visualisation (Table) and suddenly the results are a lot better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But…. I still have ca. 3 articlenum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&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I expected the yellow marked lines after the red marked line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hans Kaman&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 11:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1823018#M9338</guid>
      <dc:creator>hanskaman</dc:creator>
      <dc:date>2021-07-19T11:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1823063#M9340</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/30373"&gt;@hanskaman&lt;/a&gt;&amp;nbsp; In table properties, Sorting option for that dimension select sort by measure and put below expression&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=rank(Articlenumber)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can select ascending/descending based on your requirement&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 13:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1823063#M9340</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-07-19T13:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sort order</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1823065#M9341</link>
      <description>&lt;P&gt;I can't tell you why, for me this is a bug, as a workaround you can use both options I proposed:&lt;/P&gt;&lt;P&gt;- 1st sort by expression using (you can add an upper or use a field with all uppercase)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;Ord(Left(Articlenumber,1))&amp;amp;Ord(Mid(Articlenumber,2,1))&amp;amp;Ord(Mid(Articlenumber,3,1))&amp;amp;Ord(Mid(Articlenumber,4,1))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Then also add the option to sort alphabetically&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 13:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Sort-order/m-p/1823065#M9341</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-07-19T13:04:03Z</dc:date>
    </item>
  </channel>
</rss>

