<?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: Use String Function Keepchar and Intervalmatch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-String-Function-Keepchar-and-Intervalmatch/m-p/1450410#M1324792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Temp:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;TypeOfAccount&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Description&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;TotIncome&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;PurgeChar&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt;,'B'),';') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Inline&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[&lt;BR /&gt; TypeOfAccount,Description, TotIncome,BankNumber&lt;BR /&gt; Summary,Sum of All,50000,B1000-3000;B3000-3500 &lt;BR /&gt; Loan,Loan account,600000,B2000-3000;B4000-4100]&lt;/SPAN&gt;;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;NoConcatenate&lt;/SPAN&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;TypeOfAccount&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Description&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;TotIncome&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt;,'-',1)+&lt;SPAN style="color: #0000ff;"&gt;IterNo&lt;/SPAN&gt;()-1 &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; Temp&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;While&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt;,'-',1)+&lt;SPAN style="color: #0000ff;"&gt;IterNo&lt;/SPAN&gt;()-1 &amp;lt;= &lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt;,'-',2);&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;Drop&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;Table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Temp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184522_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Nov 2017 18:00:33 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-11-24T18:00:33Z</dc:date>
    <item>
      <title>Use String Function Keepchar and Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Use-String-Function-Keepchar-and-Intervalmatch/m-p/1450409#M1324790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, we have a problem with Numbers in Excel file, (bankaccount.xls) that we need to use in Qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bankaaccount has four columns, TypeOfAccount, Description, TotIncome, BankNumber as this.&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="106"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="106"&gt;TypeOfAccount&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Description&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;TotIncome&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;BankNumber&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="106"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="106"&gt;Summary&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sum of All&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="234"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="234"&gt;B1000-3000;B3000-3500&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="106"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="106"&gt;Loan&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Loan account&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;600000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="234"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="234"&gt;B2000-3000;B4000-4100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important column, BankNumber looks like this: B1000-3000;3500-3700&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the task we need to create a row for each bank number, e.x. 1000, 1001, 1002, 3501 etc.&lt;BR /&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So at the start it looks like this. We use the String Function - Purgechar to remove the B. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BankAccount:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;TypeOfAccount,&lt;/P&gt;&lt;P&gt;Description,&lt;/P&gt;&lt;P&gt;TotIncome,&lt;/P&gt;&lt;P&gt;BankNumber , PurgeChar ( BankNumber, 'B' ) as NewBankNumber&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\Desktop\Book1.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resulting in 1000-3000;3500-3700.&lt;BR /&gt;&lt;BR /&gt;Then we use SubField to separate the start and end account numbers, inside a resident load.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;BankAccountNew:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;NewBankNumber,&lt;/P&gt;&lt;P&gt;SubField(NewBankNumber, ';',1) as FirstAccount,&lt;/P&gt;&lt;P&gt;SubField(NewBankNumber, ';',-1) as SecondAccount&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;BankAccount;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resulting in A separate table "BankAccountNew" that holds the start and end account number &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Start&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;End&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I believe we need to use Intervalmatch to create each bank account 1000,1001,1002 etc.. but here I not sure how to write the Intervalmatch function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-String-Function-Keepchar-and-Intervalmatch/m-p/1450409#M1324790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Use String Function Keepchar and Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Use-String-Function-Keepchar-and-Intervalmatch/m-p/1450410#M1324792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Temp:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;TypeOfAccount&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Description&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;TotIncome&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;PurgeChar&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt;,'B'),';') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Inline&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[&lt;BR /&gt; TypeOfAccount,Description, TotIncome,BankNumber&lt;BR /&gt; Summary,Sum of All,50000,B1000-3000;B3000-3500 &lt;BR /&gt; Loan,Loan account,600000,B2000-3000;B4000-4100]&lt;/SPAN&gt;;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;NoConcatenate&lt;/SPAN&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;TypeOfAccount&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Description&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;TotIncome&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt;,'-',1)+&lt;SPAN style="color: #0000ff;"&gt;IterNo&lt;/SPAN&gt;()-1 &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; Temp&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;While&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt;,'-',1)+&lt;SPAN style="color: #0000ff;"&gt;IterNo&lt;/SPAN&gt;()-1 &amp;lt;= &lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BankNumber&lt;/SPAN&gt;,'-',2);&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;Drop&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;Table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Temp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184522_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 18:00:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-String-Function-Keepchar-and-Intervalmatch/m-p/1450410#M1324792</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-11-24T18:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Use String Function Keepchar and Intervalmatch</title>
      <link>https://community.qlik.com/t5/QlikView/Use-String-Function-Keepchar-and-Intervalmatch/m-p/1450411#M1324794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying Antonio &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;From your teachings,I&amp;nbsp; learned abit about using functions in the same table. And how the IterNo()-1 and While works.&lt;/P&gt;&lt;P&gt;Thanks lovely,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I see my version of Qlikview (PE) can only handle a maximum amount of numbers..&lt;BR /&gt;Meaning, removing one 0 from each value .. 1000 becomes 100, 3000 becomes 300, 3500 becomes 350 etc. &lt;BR /&gt;Then all values are showing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the solution &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Nov 2017 09:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-String-Function-Keepchar-and-Intervalmatch/m-p/1450411#M1324794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-25T09:19:39Z</dc:date>
    </item>
  </channel>
</rss>

