<?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: Fetching only particular characters in field value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404189#M815767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also mark some of the solution as helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2017 09:33:14 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2017-09-13T09:33:14Z</dc:date>
    <item>
      <title>Fetching only particular characters in field value</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404181#M815759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help to fetch only the certain characters from the field value. Let's take i have a Group_Name field with 3 values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Group_Name&lt;/P&gt;&lt;P&gt;Additional Usage: Offer,&lt;/P&gt;&lt;P&gt;Free Product: Offer Free and Free Application Utilities: Category,&lt;/P&gt;&lt;P&gt;My Account: Usage: Application Standard or Deluxe: Sell&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Scenario - '&lt;STRONG&gt;Additional Usage: Offer&lt;/STRONG&gt;', I have to fetch only the part of the string i.e before the colon. My result should be '&lt;STRONG&gt;Additional Usage&lt;/STRONG&gt;'. In other words i have to delete the characters after the last colon.&lt;/P&gt;&lt;P&gt;Second Scenario - '&lt;STRONG&gt;Free Product: Offer Free and Free Application Utilities: Category&lt;/STRONG&gt;', My result for this value should be '&lt;STRONG&gt;Free Product: Offer Free and Free Application Utilities&lt;/STRONG&gt;'. In other words i have to delete the characters after the last colon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had used SubField(Group_Name,':',1), but it is not fetching the proper results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: Below is the logic used to achieve the expected results in SQL. Could you help me to achieve this in Qlikview &lt;/P&gt;&lt;P&gt;[Group_Name_New] = reverse(substring(reverse(Group_Name) , CHARINDEX ( ':' , reverse(Group_Name))+1 , len(reverse(Group_Name)) - (CHARINDEX ( ':' , reverse(Group_Name))-1))).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Logesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404181#M815759</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching only particular characters in field value</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404182#M815760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Logesh,&lt;/P&gt;&lt;P&gt;maybe this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;SPAN style="color: #0000ff;"&gt;Left&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Group_Name&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;Index&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Group_Name&lt;/SPAN&gt;,':',-1)-1) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Group_Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &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/176313_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>Wed, 13 Sep 2017 06:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404182#M815760</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-09-13T06:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching only particular characters in field value</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404183#M815761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Left( 'Free Product: Offer Free and Free Application Utilities: Category',Index( 'Free Product: Offer Free and Free Application Utilities: Category',':',-1)-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Group_Name&lt;/SPAN&gt;,Index(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Group_Name&lt;/SPAN&gt;,':',-1)-1) as GroupNameNew,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 06:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404183#M815761</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-13T06:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching only particular characters in field value</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404184#M815762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this check this will it worked for you with Subfield and combination of the Len function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Load *,if( Len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Group_Name&lt;/SPAN&gt;)&amp;nbsp; &amp;gt; 16, subfield(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Group_Name,':',2&lt;/SPAN&gt;), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;subfield(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Group_Name,':',1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;)) as NewGroup_Name;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * Inline [&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group_Name&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Additional Usage: Offer,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Free Product: Offer Free and Free Application Utilities: Category,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;My Account: Usage: Application Standard or Deluxe: Sell&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 06:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404184#M815762</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-13T06:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching only particular characters in field value</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404185#M815763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mid(Group_Name,1,Index(Group_Name,':',-1)-1) as &lt;SPAN style="font-size: 13.3333px;"&gt;Group_Name&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 06:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404185#M815763</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-13T06:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching only particular characters in field value</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404186#M815764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about using substringcount, something similar to this; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left(&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Group_Name&lt;/STRONG&gt;,index(&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Group_Name&lt;/STRONG&gt;':',SubStringCount(&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Group_Name&lt;/STRONG&gt;,':'))-1)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Take all characters left of the last substring ":"."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;It might not be pretty but it should give you what you need, it shouldn't be bad performance-wise either.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 06:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404186#M815764</guid>
      <dc:creator />
      <dc:date>2017-09-13T06:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching only particular characters in field value</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404187#M815765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edit: the Mid solution is neater..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 06:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404187#M815765</guid>
      <dc:creator />
      <dc:date>2017-09-13T06:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching only particular characters in field value</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404188#M815766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your answers. By the way all the solutions that you had provided are working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Logesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 09:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404188#M815766</guid>
      <dc:creator />
      <dc:date>2017-09-13T09:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching only particular characters in field value</title>
      <link>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404189#M815767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also mark some of the solution as helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 09:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetching-only-particular-characters-in-field-value/m-p/1404189#M815767</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-13T09:33:14Z</dc:date>
    </item>
  </channel>
</rss>

