<?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: How to remove text after a specific character ('.' or ',' or '-') in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-remove-text-after-a-specific-character-or-or/m-p/1162249#M897973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Left(Number, FindOneOf(Number &amp;amp; '.', '.,-')-1) as NewNumber&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;237589&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;573830.098.9&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;98374,09&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;987464-1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;84736.999.1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;98383&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6444-87&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/132748_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jul 2016 20:17:51 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-07-27T20:17:51Z</dc:date>
    <item>
      <title>How to remove text after a specific character ('.' or ',' or '-')</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-text-after-a-specific-character-or-or/m-p/1162246#M897970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I have a field with reference numbers.&lt;/P&gt;&lt;P&gt;237589&lt;/P&gt;&lt;P&gt;573830.098.9&lt;/P&gt;&lt;P&gt;98374.09&lt;/P&gt;&lt;P&gt;987464.1&lt;/P&gt;&lt;P&gt;84736.999.1&lt;/P&gt;&lt;P&gt;98383&lt;/P&gt;&lt;P&gt;6444.87&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to keep only the numbers before the first dot (.)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;237589&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;573830&lt;SPAN style="text-decoration: line-through;"&gt;.098.9&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;98374&lt;SPAN style="text-decoration: line-through;"&gt;.09&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;987464&lt;SPAN style="text-decoration: line-through;"&gt;.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;84736&lt;SPAN style="text-decoration: line-through;"&gt;.999.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;98383&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;6444&lt;SPAN style="text-decoration: line-through;"&gt;.87&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you&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/How-to-remove-text-after-a-specific-character-or-or/m-p/1162246#M897970</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove text after a specific character ('.' or ',' or '-')</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-text-after-a-specific-character-or-or/m-p/1162247#M897971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the Subfield() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Subfield(Test,'.',1) as Extract&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Test&lt;/P&gt;&lt;P&gt;237589&lt;/P&gt;&lt;P&gt;573830.098.9&lt;/P&gt;&lt;P&gt;98374.09&lt;/P&gt;&lt;P&gt;987464.1&lt;/P&gt;&lt;P&gt;84736.999.1&lt;/P&gt;&lt;P&gt;98383&lt;/P&gt;&lt;P&gt;6444.87&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Test&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Extract&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6444.87&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6444&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;84736.999.1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;84736&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;98374.09&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;98374&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;573830.098.9&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;573830&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;987464.1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;987464&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;98383&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;98383&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;237589&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;237589&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 20:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-text-after-a-specific-character-or-or/m-p/1162247#M897971</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-27T20:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove text after a specific character ('.' or ',' or '-')</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-text-after-a-specific-character-or-or/m-p/1162248#M897972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 20:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-text-after-a-specific-character-or-or/m-p/1162248#M897972</guid>
      <dc:creator />
      <dc:date>2016-07-27T20:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove text after a specific character ('.' or ',' or '-')</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-text-after-a-specific-character-or-or/m-p/1162249#M897973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Left(Number, FindOneOf(Number &amp;amp; '.', '.,-')-1) as NewNumber&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;237589&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;573830.098.9&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;98374,09&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;987464-1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;84736.999.1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;98383&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6444-87&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/132748_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 20:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-text-after-a-specific-character-or-or/m-p/1162249#M897973</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-27T20:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove text after a specific character ('.' or ',' or '-')</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-text-after-a-specific-character-or-or/m-p/1162250#M897974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; IF(Index(Num,'.')&amp;gt;=1, Subfield(LEFT(Num, Index(Num, '.')), '.'), Num) AS Number;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Num&lt;/P&gt;&lt;P&gt;237589&lt;/P&gt;&lt;P&gt;573830.098.9&lt;/P&gt;&lt;P&gt;98374.09&lt;/P&gt;&lt;P&gt;987464.1&lt;/P&gt;&lt;P&gt;84736.999.1&lt;/P&gt;&lt;P&gt;98383&lt;/P&gt;&lt;P&gt;6444.87&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 20:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-text-after-a-specific-character-or-or/m-p/1162250#M897974</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-07-27T20:19:21Z</dc:date>
    </item>
  </channel>
</rss>

