<?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: num function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419368#M816817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks - this explains it really well. I marked Antonio's answer as correct because it provides a final proposal that works, but your explanation really helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2017 14:13:40 GMT</pubDate>
    <dc:creator>gerhardl</dc:creator>
    <dc:date>2017-08-31T14:13:40Z</dc:date>
    <item>
      <title>num function</title>
      <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419361#M816807</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;I have 2 separate fields that I'n loading from a fixed length file. Both are numbers, and in the fixed length file we use leading zeroes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one field is 9 characters in length and the other is 15. I'm trying to load them in QV and turn them to numbers, dropping the zeroes, but this only wants to work for the 9-digit field. For the 15 digit field it returns NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(@42:50) as [No of Instalments],&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;&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; // this works fine and returns e.g. 12 from 000000012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(@60:74) as [Total of Instalments, INT &amp;amp; Fees],&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // this doesn't work and returns NULL from 000000000123456&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/num-function/m-p/1419361#M816807</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: num function</title>
      <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419362#M816808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Num(@60:74,'&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;STRONG style="color: #222222; font-family: arial, sans-serif; font-size: 16px;"&gt;#&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;') as [Total of Instalments, INT &amp;amp; Fees], &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function/m-p/1419362#M816808</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-08-31T14:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: num function</title>
      <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419363#M816809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two remarks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;num()&lt;/SPAN&gt; is not a conversion function. It's a formatting function that tries to shape values that have already been recognised by QlikView before. Use &lt;SPAN style="font-family: 'courier new', courier;"&gt;num#()&lt;/SPAN&gt; to translate strings into numbers.&lt;/LI&gt;&lt;LI&gt;QlikView functions cannot handle string representations &lt;SPAN style="text-decoration: underline;"&gt;with more than 14 digits&lt;/SPAN&gt;. You'll have to use a few cutting functions to omit the leading zeroes before you can force QlikView to convert the remainder into a dual value.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function/m-p/1419363#M816809</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-08-31T14:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: num function</title>
      <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419364#M816810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try for both this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(@42:50,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'&lt;/SPAN&gt;&lt;STRONG style="font-size: 16px; font-family: arial, sans-serif; color: #222222;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'&lt;/SPAN&gt;) as [No of Instalments],&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;&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; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(@60:74&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'&lt;/SPAN&gt;&lt;STRONG style="font-size: 16px; font-family: arial, sans-serif; color: #222222;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;STRONG style="font-style: inherit;"&gt;#&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'&lt;/SPAN&gt;) as [Total of Instalments, INT &amp;amp; Fees]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function/m-p/1419364#M816810</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-08-31T14:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: num function</title>
      <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419365#M816811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerhards,&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;Right&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(@60:74,14)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Num(@61:74)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function/m-p/1419365#M816811</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-08-31T14:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: num function</title>
      <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419366#M816813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;still returns null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;up to 14 characters works 100%, but 15+ the num function just doesn't wanna work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function/m-p/1419366#M816813</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2017-08-31T14:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: num function</title>
      <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419367#M816815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be load it as text, because QlikView can only read numbers up until 14 digits&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function/m-p/1419367#M816815</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-31T14:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: num function</title>
      <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419368#M816817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks - this explains it really well. I marked Antonio's answer as correct because it provides a final proposal that works, but your explanation really helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function/m-p/1419368#M816817</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2017-08-31T14:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: num function</title>
      <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419369#M816819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helpfuls can be assigned using the corresponding entry in the Actions menu (bottom left)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function/m-p/1419369#M816819</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-08-31T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: num function</title>
      <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419370#M816820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to do so, but the available actions won't load - just get this for minutes on end. Might be a browser issue... sorry, will try again later:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MWSnap040 2017-08-31, 16_19_40.jpg" class="jive-image image-1" src="/legacyfs/online/175249_MWSnap040 2017-08-31, 16_19_40.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function/m-p/1419370#M816820</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2017-08-31T14:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: num function</title>
      <link>https://community.qlik.com/t5/QlikView/num-function/m-p/1419371#M816821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem. Such things happen &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function/m-p/1419371#M816821</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-08-31T14:30:02Z</dc:date>
    </item>
  </channel>
</rss>

