<?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 number from string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665816#M1061509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muhammad&lt;/P&gt;&lt;P&gt;in the load of Table 2 use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keepchar(GLHDescription,'1234567890') as Accountno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then, in this way both will be joined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this command will help you Keepchar()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2014 21:56:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-06T21:56:22Z</dc:date>
    <item>
      <title>Extract number from string</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665814#M1061507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to connect these two tables by account number column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/68357_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/68358_2.png" /&gt;&lt;/P&gt;&lt;P&gt;Currently there is no relation between these two tables because in the 2nd table the account number is hidden inside the &lt;STRONG&gt;GLHDescription&lt;/STRONG&gt; column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is that I want to extract this account number from GLHDescription column and add this in Table2 so that the relation could be created between these two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how can I achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Muhammad Raza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 21:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665814#M1061507</guid>
      <dc:creator>muhammadraza</dc:creator>
      <dc:date>2014-10-06T21:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Extract number from string</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665815#M1061508</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;one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_136588_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/68356_QlikCommunity_Thread_136588_Pic2.JPG.jpg" style="width: 620px; height: 110px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_136588_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/68355_QlikCommunity_Thread_136588_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14126324750027853" jivemacro_uid="_14126324750027853"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;LOAD *&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="130622" data-objecttype="13" href="https://community.qlik.com/servlet/JiveServlet/download/2003-136588-626902-130622/AccountDetails.xlsx"&gt;http://community.qlik.com/servlet/JiveServlet/download/626902-130622/AccountDetails.xlsx&lt;/A&gt;&lt;SPAN&gt;] (ooxml, embedded labels, table is Sheet1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;table2:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KeepChar(SubField(GLHDescription,'Min.',1),'0123456789') as AccountNo&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="130621" data-objecttype="13" href="https://community.qlik.com/servlet/JiveServlet/download/2003-136588-626902-130621/GLH.xlsx"&gt;http://community.qlik.com/servlet/JiveServlet/download/626902-130621/GLH.xlsx&lt;/A&gt;&lt;SPAN&gt;] (ooxml, embedded labels, table is Sheet1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 21:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665815#M1061508</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-10-06T21:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extract number from string</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665816#M1061509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muhammad&lt;/P&gt;&lt;P&gt;in the load of Table 2 use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keepchar(GLHDescription,'1234567890') as Accountno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then, in this way both will be joined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this command will help you Keepchar()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 21:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665816#M1061509</guid>
      <dc:creator />
      <dc:date>2014-10-06T21:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Extract number from string</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665817#M1061510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muhammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check my SOLution. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 22:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665817#M1061510</guid>
      <dc:creator>tobias_klett</dc:creator>
      <dc:date>2014-10-06T22:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Extract number from string</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665818#M1061511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually the requirement is more tricky, I cannot count on '1000' and 'Min' strings, PFA is the possible list of scenarios of string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 09:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665818#M1061511</guid>
      <dc:creator>muhammadraza</dc:creator>
      <dc:date>2014-10-07T09:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extract number from string</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665819#M1061512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;@Tobias Klett @Marco Wedel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Thanks guys for your replies but &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;actually the requirement is more tricky, I cannot count on '1000' and 'Min' strings appearance, PFA is the possible list of scenarios of string in 'GLHDescription'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Muhammad Raza&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 09:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665819#M1061512</guid>
      <dc:creator>muhammadraza</dc:creator>
      <dc:date>2014-10-07T09:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Extract number from string</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665820#M1061513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 09:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665820#M1061513</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-07T09:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extract number from string</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665821#M1061514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can join the 2 tables and then use wildmatch &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;LOAD AccountNo, AccountType&lt;/P&gt;&lt;P&gt;FROM AccountDetails2.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g:&lt;/P&gt;&lt;P&gt;load RowNo() as id, *;&lt;/P&gt;&lt;P&gt;LOAD GLNo, LedgerNo, GLDescription, GLHistoryPTID, GLHOriginTN, GLHistoryAmount, GLTC, GLHDescription, GLHRefence, GLHCreateDate, EmployeeID, RSMName, CurrencyID, Currency, BranchNo, BranchName, Q, R, S, T, U&lt;/P&gt;&lt;P&gt;FROM GLH2.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;load id, GLHDescription Resident g;&lt;/P&gt;&lt;P&gt;join (tmp) load * Resident a;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;final:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; if(wildmatch(GLHDescription, '*' &amp;amp; AccountNo &amp;amp; '*'), 1, 0) as FlagMatch&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Resident tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table tmp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 09:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-number-from-string/m-p/665821#M1061514</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-10-07T09:29:32Z</dc:date>
    </item>
  </channel>
</rss>

