<?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: Re: Categorization Based on A long text filed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557063#M207944</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have tested it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the application attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2013 09:44:07 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2013-11-21T09:44:07Z</dc:date>
    <item>
      <title>Categorization Based on A long text filed</title>
      <link>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557058#M207939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;/P&gt;&lt;P&gt;in my database a have a field which contain a long text description and in the description i have some hashtags like #Against_HR_Policy, #Not_valid complaint and I need to find a way to generate a new column which contains the all hashtags only so i could use it as a new filter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;Original Field &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;STRONG&gt;Case&lt;/STRONG&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;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;this is to inform you that this case is #Not_valid_complaint&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;this is to inform you that this case is case is #Against_HR_Policy&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&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;STRONG&gt;Case&lt;/STRONG&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;Category&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;this is to inform you that this case is #Not_valid complaint&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;#Not_valid&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;this is to inform you that this case is case is #Against_HR_Policy&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;#Against_HR_Policy&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The description might have more than one hashtags&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 08:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557058#M207939</guid>
      <dc:creator />
      <dc:date>2013-11-21T08:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Categorization Based on A long text filed</title>
      <link>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557059#M207940</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,Mid(Field,index(Field,'#'),Len(Field)-index(Field,'#')+1) as Cat inline [&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;this is to inform you that this case is #Not_valid complaint&lt;/P&gt;&lt;P&gt;this is to inform you that this case is case is #Against_HR_Policy&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 08:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557059#M207940</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-11-21T08:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Categorization Based on A long text filed</title>
      <link>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557060#M207941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;works only with one hashtags in the description&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;THEAD style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; text-decoration: underline; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Case&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;Description&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;Category&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;this is to inform you that this case is #Not_valid complaint &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; #Against_HR_Policy&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;#Not_valid&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;this is to inform you that this case is case is #Against_HR_Policy&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;#Against_HR_Policy&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;should result in&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;THEAD style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; text-decoration: underline; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Case&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;Description&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;Category&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;this is to inform you that this case is #Not_valid complaint &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; #Against_HR_Policy&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;#Not_valid&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;this is to inform you that this case is case is #Against_HR_Policy&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;#Against_HR_Policy&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;this is to inform you that this case is case is #Against_HR_Policy &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;#&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Against_HR_Policy&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;#Against_HR_Policy&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;it also includes all the words after the hashtag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 08:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557060#M207941</guid>
      <dc:creator />
      <dc:date>2013-11-21T08:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Categorization Based on A long text filed</title>
      <link>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557061#M207942</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;Load *,Mid(Field,index(Field,'#',1),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(SubStringCount(Field,'#')=1, Len(Field)-Index(Field,'#',1)+1,if(SubStringCount(Field,'#')=2, Index(Field,'#',2)-Index(Field,'#',1)))) as Cat inline [&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;this is to inform you that this case is #Not_valid complaint #Against_HR_Policy&lt;/P&gt;&lt;P&gt;this is to inform you that this case is case is #Against_HR_Policy&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,Mid(Field,index(Field,'#',2),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(SubStringCount(Field,'#')=1, Len(Field)-Index(Field,'#',1)+1,if(SubStringCount(Field,'#')=2, Index(Field,'#',2)-Index(Field,'#',1)))) as Cat inline [&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;this is to inform you that this case is #Not_valid complaint #Against_HR_Policy&lt;/P&gt;&lt;P&gt;this is to inform you that this case is case is #Against_HR_Policy&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA2:&lt;/P&gt;&lt;P&gt;LOad Field as Description, Cat as Category&lt;/P&gt;&lt;P&gt;Resident DATA where len(Cat)&amp;lt;&amp;gt;0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table DATA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 09:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557061#M207942</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-11-21T09:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Categorization Based on A long text filed</title>
      <link>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557062#M207943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is working fine except &lt;/P&gt;&lt;P&gt;Issues:&lt;/P&gt;&lt;P&gt;All the text after the hash is included until we have another hash &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; we need to have only the word that has the hash as part of it &lt;/P&gt;&lt;P&gt;'will it become easier if we have the word between two hashes #here# ?'&lt;/P&gt;&lt;P&gt;The current output contains some null category &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 09:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557062#M207943</guid>
      <dc:creator />
      <dc:date>2013-11-21T09:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Categorization Based on A long text filed</title>
      <link>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557063#M207944</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have tested it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the application attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 09:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557063#M207944</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-11-21T09:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Categorization Based on A long text filed</title>
      <link>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557064#M207945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check my comments in the Script and applications&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 09:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557064#M207945</guid>
      <dc:creator />
      <dc:date>2013-11-21T09:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Categorization Based on A long text filed</title>
      <link>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557065#M207946</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes because the expression is written for only 2 #, if you want you can further add one more if statement in that and make it useful for 3#.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 10:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorization-Based-on-A-long-text-filed/m-p/557065#M207946</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-11-21T10:02:10Z</dc:date>
    </item>
  </channel>
</rss>

