<?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 loading text from .csv file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/loading-text-from-csv-file/m-p/349514#M1176192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mapping tables could help, check out this post on how to use a combination of mapsubstring() and textbetween() functions:&lt;/P&gt;&lt;P&gt;community.qlik.com/message/192097/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same thread, there is also the use of a regular expression search discussed, using a VBScript Macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, you can also check out the mappingwithwildcards.qvw example from the QV cookbook:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com/downloads/"&gt;http://robwunderlich.com/downloads/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2012 11:36:20 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-03-13T11:36:20Z</dc:date>
    <item>
      <title>loading text from .csv file</title>
      <link>https://community.qlik.com/t5/QlikView/loading-text-from-csv-file/m-p/349513#M1176191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hello! I am loading data from a csv file. &lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;upper(if(isnull(CATEGORY),&lt;BR /&gt;&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; if(0&amp;lt;index(upper(DESCRIPTION),'BARNARDT '),'AFTERCARE',&lt;BR /&gt;&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; if(0&amp;lt;index(upper(DESCRIPTION),'HEAD TO TOE '),'BEAUTY',&lt;BR /&gt;&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; if(0&amp;lt;index(upper(DESCRIPTION),'CREDIT AGREEMENT REP'),'CAR FINANCE',&lt;BR /&gt;&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; if(0&amp;lt;index(upper(DESCRIPTION),'AUTOBANK'),'CASH',&lt;BR /&gt;&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; if(0&amp;lt;index(upper(DESCRIPTION),'OTHER BANK ATM'),'CASH',&lt;BR /&gt;&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; if(0&amp;lt;index(upper(DESCRIPTION),'CASH WITHDRAWAL FEE'),'CASH WITHDRAWAL FEE',&lt;BR /&gt;&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; if(0&amp;lt;index(upper(DESCRIPTION),'CELL'),'CELL',&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;One of the colums contain string data, which can contain a load of junk eg....'MUTUAL fee 18493'. I want to somehow categorize all this data. So for this field, I would like to make it eg 'Mutual Fees'. So that all SIMILAR entries add&amp;nbsp; up to MUTUAL fees. &lt;/P&gt;&lt;P&gt; I have tried doing it in IF statements (see code ) but after 70 IF's in the select part (YES!) it seems that it cannot handle more than that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an easier way to do this? Mapping tables are not going to do the trick since only PART of the string will match.&lt;/P&gt;&lt;P&gt; any help will do thankx &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 10:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-text-from-csv-file/m-p/349513#M1176191</guid>
      <dc:creator />
      <dc:date>2012-03-13T10:08:22Z</dc:date>
    </item>
    <item>
      <title>loading text from .csv file</title>
      <link>https://community.qlik.com/t5/QlikView/loading-text-from-csv-file/m-p/349514#M1176192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mapping tables could help, check out this post on how to use a combination of mapsubstring() and textbetween() functions:&lt;/P&gt;&lt;P&gt;community.qlik.com/message/192097/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same thread, there is also the use of a regular expression search discussed, using a VBScript Macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, you can also check out the mappingwithwildcards.qvw example from the QV cookbook:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com/downloads/"&gt;http://robwunderlich.com/downloads/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 11:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-text-from-csv-file/m-p/349514#M1176192</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-03-13T11:36:20Z</dc:date>
    </item>
  </channel>
</rss>

