<?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: Extract numbers from one line field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1598808#M738114</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;subfield ([Your numbersfield], ' ') as [Extracted number],&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM source;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2019 18:38:08 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-07-03T18:38:08Z</dc:date>
    <item>
      <title>Extract numbers from one line field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1598796#M738112</link>
      <description>&lt;P&gt;From the below field, how do I extract numbers&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 281px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14879i60745D0A3C1CCFB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;004583&amp;nbsp;&lt;/P&gt;&lt;P&gt;0002195&amp;nbsp;&lt;/P&gt;&lt;P&gt;001&lt;/P&gt;&lt;P&gt;20040921&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am using the trim left and mid function this is the right function to use?&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1598796#M738112</guid>
      <dc:creator>has75042</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extract numbers from one line field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1598800#M738113</link>
      <description>&lt;P&gt;If the fields are fixed width, that may be the easiest method.&amp;nbsp; It looks like most of the fields are space delimited, you might want to look at the&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/StringFunctions/SubField.htm" target="_self"&gt;subfield function&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 18:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1598800#M738113</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2019-07-03T18:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Extract numbers from one line field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1598808#M738114</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;subfield ([Your numbersfield], ' ') as [Extracted number],&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM source;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 18:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1598808#M738114</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-07-03T18:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extract numbers from one line field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1598830#M738115</link>
      <description>&lt;P&gt;subfield function seems to be working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;SubField(ABNOTE, ' ', -1) is giving me this #&amp;nbsp;0200709190660, how do I convert this number into date.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 19:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1598830#M738115</guid>
      <dc:creator>has75042</dc:creator>
      <dc:date>2019-07-03T19:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Extract numbers from one line field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1598832#M738116</link>
      <description>&lt;P&gt;SubField('004583 0002195 001 20040921',' ',1)&lt;/P&gt;&lt;P&gt;SubField('004583 0002195 001 20040921',' ',2)&lt;/P&gt;&lt;P&gt;SubField('004583 0002195 001 20040921',' ',3)&lt;/P&gt;&lt;P&gt;SubField('004583 0002195 001 20040921',' ',4)&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 19:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1598832#M738116</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2019-07-03T19:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extract numbers from one line field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1599498#M738117</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I convert this #&amp;nbsp; 0201010310600 into date.&lt;/P&gt;&lt;P&gt;I have tired make date function, floor. None of them seems to be working. Please let me know a function that I can use to convert above number into date&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 14:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1599498#M738117</guid>
      <dc:creator>has75042</dc:creator>
      <dc:date>2019-07-05T14:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Extract numbers from one line field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1599501#M738118</link>
      <description>&lt;P&gt;How does the number 0201010310600&amp;nbsp; represent a date?&amp;nbsp; Is it Oct 31 2019 at 6 am?&amp;nbsp; Why does it have a leading zero.&amp;nbsp; Is it the number of milliseconds, seconds, minutes from a date?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 15:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1599501#M738118</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2019-07-05T15:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extract numbers from one line field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1599505#M738119</link>
      <description>&lt;P&gt;Yes, it is Oct 31 2019 at 6 am. The leading zero doesn't represent anything. I need to remove that leading zero&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 15:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1599505#M738119</guid>
      <dc:creator>has75042</dc:creator>
      <dc:date>2019-07-05T15:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Extract numbers from one line field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1599511#M738120</link>
      <description>&lt;P&gt;The &lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/DateAndTimeFunctions/makedate.htm" target="_self"&gt;MakeDate function&lt;/A&gt;&amp;nbsp;worked.&amp;nbsp; I would have expected the &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Enterprise-Documents/Dealing-with-date-formats-in-QlikView-and-QlikSense/ta-p/1484207" target="_self"&gt;Date# function&lt;/A&gt;&amp;nbsp;to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;MakeDate&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Num#&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Mid&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;DT&lt;/FONT&gt;&lt;FONT size="1"&gt;,2,4)),&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Num#&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Mid&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;DT&lt;/FONT&gt;&lt;FONT size="1"&gt;,6,2)),&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Num#&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Mid&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;DT&lt;/FONT&gt;&lt;FONT size="1"&gt;,8,2))) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 15:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1599511#M738120</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2019-07-05T15:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extract numbers from one line field</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1599576#M738121</link>
      <description>&lt;P&gt;Try Timestamp&lt;/P&gt;&lt;P&gt;=Timestamp(Timestamp#(Num(A),'YYYYMMDDhhmm'))&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2019 15:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-numbers-from-one-line-field/m-p/1599576#M738121</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2019-07-06T15:25:57Z</dc:date>
    </item>
  </channel>
</rss>

