<?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 part of the string for max value within string in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Extract-part-of-the-string-for-max-value-within-string/m-p/1755222#M58220</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have Data as below.&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;BR /&gt;ID, Text&lt;BR /&gt;1, "10-AB,20-CC,5-DD"&lt;BR /&gt;2, "25-CD,15-BD,10-AA,5-AG"&lt;BR /&gt;3, "30-TG,30-BG,20-KG" ];&lt;/P&gt;&lt;P&gt;Now, I need to extract text values for max number.&amp;nbsp; eg. For ID=1, max number is 20 so text associated with that number is "CC". If there is multiple max value then pick first occurrence. Format of text will remain the same with variable text values&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;CC&lt;/P&gt;&lt;P&gt;CD&lt;/P&gt;&lt;P&gt;TG&lt;/P&gt;</description>
    <pubDate>Thu, 22 Oct 2020 23:21:13 GMT</pubDate>
    <dc:creator>Sagar_Apte</dc:creator>
    <dc:date>2020-10-22T23:21:13Z</dc:date>
    <item>
      <title>Extract part of the string for max value within string</title>
      <link>https://community.qlik.com/t5/App-Development/Extract-part-of-the-string-for-max-value-within-string/m-p/1755222#M58220</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have Data as below.&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;BR /&gt;ID, Text&lt;BR /&gt;1, "10-AB,20-CC,5-DD"&lt;BR /&gt;2, "25-CD,15-BD,10-AA,5-AG"&lt;BR /&gt;3, "30-TG,30-BG,20-KG" ];&lt;/P&gt;&lt;P&gt;Now, I need to extract text values for max number.&amp;nbsp; eg. For ID=1, max number is 20 so text associated with that number is "CC". If there is multiple max value then pick first occurrence. Format of text will remain the same with variable text values&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;CC&lt;/P&gt;&lt;P&gt;CD&lt;/P&gt;&lt;P&gt;TG&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 23:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Extract-part-of-the-string-for-max-value-within-string/m-p/1755222#M58220</guid>
      <dc:creator>Sagar_Apte</dc:creator>
      <dc:date>2020-10-22T23:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Extract part of the string for max value within string</title>
      <link>https://community.qlik.com/t5/App-Development/Extract-part-of-the-string-for-max-value-within-string/m-p/1755233#M58221</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121297"&gt;@Sagar_Apte&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;LOAD *,TextBetween(Text,evaluate('rangemax('&amp;amp;KeepChar(Text,'0123456789,')&amp;amp;')')&amp;amp;'-',',') as Max_String;
LOAD * Inline [
ID, Text
1, "10-AB,20-CC,5-DD"
2, "25-CD,15-BD,10-AA,5-AG"
3, "30-TG,30-BG,20-KG" ];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 23:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Extract-part-of-the-string-for-max-value-within-string/m-p/1755233#M58221</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-22T23:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Extract part of the string for max value within string</title>
      <link>https://community.qlik.com/t5/App-Development/Extract-part-of-the-string-for-max-value-within-string/m-p/1755347#M58240</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp; excellent. thank you&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 10:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Extract-part-of-the-string-for-max-value-within-string/m-p/1755347#M58240</guid>
      <dc:creator>Sagar_Apte</dc:creator>
      <dc:date>2020-10-23T10:01:51Z</dc:date>
    </item>
  </channel>
</rss>

