<?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 string field data with numbers in the beginning in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130527#M371643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;Here are two suggestions:&lt;/P&gt;&lt;P&gt;1/ Sort by expression, try : SubField(FieldName,'.',1)&lt;/P&gt;&lt;P&gt;2/ If the data is loaded in the order you want from the qvd then Sort by Load Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Sep 2016 12:23:27 GMT</pubDate>
    <dc:creator>effinty2112</dc:creator>
    <dc:date>2016-09-01T12:23:27Z</dc:date>
    <item>
      <title>Sorting string field data with numbers in the beginning</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130526#M371642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ppl,&lt;/P&gt;&lt;P&gt;I have a qvd with a column of type string which has data starting with numbers like &lt;SPAN style="font-size: 13.3333px;"&gt;2.Ball&lt;/SPAN&gt; 1.Apple 21.Doll &lt;SPAN style="font-size: 13.3333px;"&gt;10.Cat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When I am trying to display this along with another column (which contains count ) in Qlikview Straight table by sorting the values based on the first column, the data is displayed as 1.Apple 10.Cat 2.Ball 21.Doll . But I want it to be displayed as 1.Apple 2.Ball 10.Cat 21.Doll .&lt;/P&gt;&lt;P&gt;Is this possible when the numbers are part of the string column ? If so please help me to achieve. I have tried all combinations of sorting options in the properties dialog. Please find the snapshot of the table as well as properties dialog for the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 12:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130526#M371642</guid>
      <dc:creator />
      <dc:date>2016-09-01T12:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting string field data with numbers in the beginning</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130527#M371643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;Here are two suggestions:&lt;/P&gt;&lt;P&gt;1/ Sort by expression, try : SubField(FieldName,'.',1)&lt;/P&gt;&lt;P&gt;2/ If the data is loaded in the order you want from the qvd then Sort by Load Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 12:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130527#M371643</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-09-01T12:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting string field data with numbers in the beginning</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130528#M371644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a sort expression of this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SubField(FieldName, '.', 1) * 1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 12:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130528#M371644</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-01T12:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting string field data with numbers in the beginning</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130529#M371645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hy James,&lt;/P&gt;&lt;P&gt;extract the numbers at the beginning of your string into a new column and sort it by Expression using the new column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give it a try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;P&gt;aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 12:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130529#M371645</guid>
      <dc:creator>aaron_ppmc</dc:creator>
      <dc:date>2016-09-01T12:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting string field data with numbers in the beginning</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130530#M371646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andy,&lt;/P&gt;&lt;P&gt;Your 1st idea worked ! Thanks a ton !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 12:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130530#M371646</guid>
      <dc:creator />
      <dc:date>2016-09-01T12:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting string field data with numbers in the beginning</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130531#M371647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is the multiplication by 1 to ensure that the expression is interpreted numerically? I hesitated in my answer for a second and considered wrapping it in Evaluate().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 12:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130531#M371647</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-09-01T12:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting string field data with numbers in the beginning</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130532#M371648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the * 1 is for changing the text field into numeric. Alternatively, I have used Num#() function to do the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 12:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-string-field-data-with-numbers-in-the-beginning/m-p/1130532#M371648</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-01T12:43:37Z</dc:date>
    </item>
  </channel>
</rss>

