<?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 Converted Numbers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488984#M182743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the limit is &amp;lt;= 14 digits. There are some few threads here in the forum that discusses this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know there is a similar limitation in other parsing functions / programming languages, just can't recall the deeper causes for that right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jan 2014 16:46:15 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-01-09T16:46:15Z</dc:date>
    <item>
      <title>Sorting Converted Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488979#M182738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a field by concatenating 2 loaded fields and converting to a number as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; LOAD &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: #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;XSDP_XCET_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;amp;&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;XSDP_DATE_POSTING&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;nbsp; AS CRUISEDAY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;When I create a list box for CRUISEDAY, sorted numerically, this is the result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;21800000007641549&lt;/P&gt;&lt;P&gt;11000000000141549&lt;/P&gt;&lt;P&gt;11000000001341549&lt;/P&gt;&lt;P&gt;11000000000241549&lt;/P&gt;&lt;P&gt;11000000001341550&lt;/P&gt;&lt;P&gt;11000000000141550&lt;/P&gt;&lt;P&gt;21800000007641550&lt;/P&gt;&lt;P&gt;11000000000241550&lt;/P&gt;&lt;P&gt;11000000001341551&lt;/P&gt;&lt;P&gt;11000000000241551&lt;/P&gt;&lt;P&gt;21800000007641551&lt;/P&gt;&lt;P&gt;11000000000141551&lt;/P&gt;&lt;P&gt;11000000000141552&lt;/P&gt;&lt;P&gt;21800000007641552&lt;/P&gt;&lt;P&gt;11000000001341552&lt;/P&gt;&lt;P&gt;11000000000241552&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to sort on the XSDP_DATE_POSTING value (ie. the last 5 digits). It seems my conversion to number is not working and this is vital as I'm trying to use it for an INTERVALMATCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice please ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 15:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488979#M182738</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2014-01-09T15:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Converted Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488980#M182739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your num#() function just won't parse the number (too many digits). Have you double checked that it is actually numeric? What about a text sort?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 16:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488980#M182739</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-01-09T16:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Converted Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488981#M182740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again swuehl - you are giving me alot of good advice !&lt;/P&gt;&lt;P&gt;Too many digits? Where does it say what the limit is?&lt;/P&gt;&lt;P&gt;Yes, a text sort works, which leads me to believe CRUISEDAY is not numeric and therefore it won't work in my INTERVALMATCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 16:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488981#M182740</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2014-01-09T16:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Converted Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488982#M182741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Evaluate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;NUM#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;XSDP_XCET_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;NUM#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;XSDP_DATE_POSTING&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))&amp;nbsp; AS CRUISEDAY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get a number, but probably you will lose some significant digits anyway. But the intervalmatch might still work ok depending on the size of your interval.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 16:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488982#M182741</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-01-09T16:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Converted Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488983#M182742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That seems to work ! At least the INTERVALMATCH is working and I just need to make sure it is working how I expect in all circumstances !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you suggest I treat NULL values in a special way ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the size limitation defined ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 16:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488983#M182742</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2014-01-09T16:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Converted Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488984#M182743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the limit is &amp;lt;= 14 digits. There are some few threads here in the forum that discusses this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know there is a similar limitation in other parsing functions / programming languages, just can't recall the deeper causes for that right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 16:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488984#M182743</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-01-09T16:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Converted Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488985#M182744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 17:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Converted-Numbers/m-p/488985#M182744</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2014-01-09T17:00:39Z</dc:date>
    </item>
  </channel>
</rss>

