<?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 Extract substring of values based upon the different  delimeter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extract-substring-of-values-based-upon-the-different-delimeter/m-p/1364274#M417737</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 have values like as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description&lt;/P&gt;&lt;P&gt;----------------&lt;/P&gt;&lt;P&gt;106:Undef&lt;/P&gt;&lt;P&gt;1379.UpperProvidence &lt;/P&gt;&lt;P&gt;Aloha Channel 1378.5250 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to extract the ID and their description separately from above data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected Result:&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp; |&amp;nbsp; Description&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;106&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Undef&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1379&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;UpperProvidence&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5250&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Aloha Channel 1378&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How we can achieve this? Can anyone give me the suggestion for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If similar kind of data set we can &lt;SPAN style="font-size: 13.3333px;"&gt;achieve&lt;/SPAN&gt; by using subfield().&lt;/P&gt;&lt;P&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;Shakila Desamuthu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Apr 2017 21:23:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-07T21:23:40Z</dc:date>
    <item>
      <title>Extract substring of values based upon the different  delimeter</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-substring-of-values-based-upon-the-different-delimeter/m-p/1364274#M417737</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 have values like as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description&lt;/P&gt;&lt;P&gt;----------------&lt;/P&gt;&lt;P&gt;106:Undef&lt;/P&gt;&lt;P&gt;1379.UpperProvidence &lt;/P&gt;&lt;P&gt;Aloha Channel 1378.5250 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to extract the ID and their description separately from above data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected Result:&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp; |&amp;nbsp; Description&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;106&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Undef&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1379&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;UpperProvidence&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5250&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Aloha Channel 1378&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How we can achieve this? Can anyone give me the suggestion for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If similar kind of data set we can &lt;SPAN style="font-size: 13.3333px;"&gt;achieve&lt;/SPAN&gt; by using subfield().&lt;/P&gt;&lt;P&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;Shakila Desamuthu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 21:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-substring-of-values-based-upon-the-different-delimeter/m-p/1364274#M417737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-07T21:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Extract substring of values based upon the different  delimeter</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-substring-of-values-based-upon-the-different-delimeter/m-p/1364275#M417738</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_256448_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159513_QlikCommunity_Thread_256448_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14916107620407721" jivemacro_uid="_14916107620407721"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;LOAD If(Index(Description,':'),SubField(Description,':',1),If(Index(Description,'.'),If(IsNum(SubField(Description,'.',1)),SubField(Description,'.',1),SubField(Description,'.',2)))) as ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Index(Description,':'),SubField(Description,':',2),If(Index(Description,'.'),If(IsNum(SubField(Description,'.',1)),SubField(Description,'.',2),SubField(Description,'.',1)))) as Description&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 106:Undef&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1379.UpperProvidence&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aloha Channel 1378.5250&lt;/P&gt;
&lt;P&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>Sat, 08 Apr 2017 00:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-substring-of-values-based-upon-the-different-delimeter/m-p/1364275#M417738</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-04-08T00:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Extract substring of values based upon the different  delimeter</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-substring-of-values-based-upon-the-different-delimeter/m-p/1364276#M417739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another way could be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Map:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;mapping LOAD * Inline [&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;TextFrom, TextTo&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;:,-&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;.,- ];&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;table1:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;LOAD *, if(isnum(SubField(DescriptionNew,'-',1)),SubField(DescriptionNew,'-',1),if(isnum(SubField(DescriptionNew,'-',2)),SubField(DescriptionNew,'-',2))) as ID,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&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(IsText(SubField(DescriptionNew,'-',1)),SubField(DescriptionNew,'-',1),if(IsText(SubField(DescriptionNew,'-',2)),SubField(DescriptionNew,'-',2))) as DescriptionFinal;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;LOAD * , MapSubString('Map',Description) as DescriptionNew&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;INLINE [&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 106:Undef&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1379.UpperProvidence&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aloha Channel 1378.5250&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159514_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Apr 2017 05:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-substring-of-values-based-upon-the-different-delimeter/m-p/1364276#M417739</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-04-08T05:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extract substring of values based upon the different  delimeter</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-substring-of-values-based-upon-the-different-delimeter/m-p/1364277#M417740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, its working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 22:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-substring-of-values-based-upon-the-different-delimeter/m-p/1364277#M417740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-13T22:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Extract substring of values based upon the different  delimeter</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-substring-of-values-based-upon-the-different-delimeter/m-p/1364278#M417741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, this logic too satisfying. Thanks for the update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 22:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-substring-of-values-based-upon-the-different-delimeter/m-p/1364278#M417741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-13T22:06:53Z</dc:date>
    </item>
  </channel>
</rss>

