<?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 How to set a new dimension in script based on string search in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-set-a-new-dimension-in-script-based-on-string-search/m-p/442171#M1151468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant find any hint to the below, please could you help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FACTS:&lt;/P&gt;&lt;P&gt;- I have .csv files that I load to QV&lt;/P&gt;&lt;P&gt;- those files have the same structure, different data&lt;/P&gt;&lt;P&gt;- among the dimensions loaded, there is one called "Transaction text". It contains a string expression (mainly letters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROBLEM:&lt;/P&gt;&lt;P&gt;1. I need to separate certain type of the transactions from all the rest (one transaction = one record or row in .csv file)&lt;/P&gt;&lt;P&gt;2. All of those that I need to separate contain "rebill" word in the "Transaction Text" string. None of those that I don't need to separate contains this word&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. My idea was to create a new dimension in the script, containing "YES" in case of all records having "rebill" in the "Transaction text" sting, and "NO" for all the rest&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write a proper function in the script, doing the job?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help&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;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2013 14:53:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-10T14:53:56Z</dc:date>
    <item>
      <title>How to set a new dimension in script based on string search</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-new-dimension-in-script-based-on-string-search/m-p/442171#M1151468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant find any hint to the below, please could you help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FACTS:&lt;/P&gt;&lt;P&gt;- I have .csv files that I load to QV&lt;/P&gt;&lt;P&gt;- those files have the same structure, different data&lt;/P&gt;&lt;P&gt;- among the dimensions loaded, there is one called "Transaction text". It contains a string expression (mainly letters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROBLEM:&lt;/P&gt;&lt;P&gt;1. I need to separate certain type of the transactions from all the rest (one transaction = one record or row in .csv file)&lt;/P&gt;&lt;P&gt;2. All of those that I need to separate contain "rebill" word in the "Transaction Text" string. None of those that I don't need to separate contains this word&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. My idea was to create a new dimension in the script, containing "YES" in case of all records having "rebill" in the "Transaction text" sting, and "NO" for all the rest&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write a proper function in the script, doing the job?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help&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;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 14:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-new-dimension-in-script-based-on-string-search/m-p/442171#M1151468</guid>
      <dc:creator />
      <dc:date>2013-04-10T14:53:56Z</dc:date>
    </item>
  </channel>
</rss>

