<?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: Remove values after minus symbol in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-values-after-minus-symbol/m-p/782480#M277119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you always want the first three you could do something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Subfield([&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Current Output], '-', 1) &amp;amp; '-' &amp;amp; Subfield([&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Current Output], '-', 2) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;amp; '-' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Subfield([&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Current Output], '-', 3) as [Required Output]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2015 17:25:44 GMT</pubDate>
    <dc:creator>jpapador</dc:creator>
    <dc:date>2015-01-13T17:25:44Z</dc:date>
    <item>
      <title>Remove values after minus symbol</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-values-after-minus-symbol/m-p/782479#M277118</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;I'm loading data from sample.qvd file where from the values are coming as illustrated below in the table format "Current Output" but I need output like "Required Output" column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 247px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl63" height="20" style="height: 15.0pt; width: 101pt;" width="135"&gt;&lt;STRONG&gt;Current Output&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 84pt;" width="112"&gt;&lt;STRONG&gt;Required Output&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl63" height="20" style="height: 15.0pt; border-top: none;"&gt;Parent-ABC-111&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Parent-ABC-111&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl63" height="20" style="height: 15.0pt; border-top: none;"&gt;Parent-ABC-111-AB0&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Parent-ABC-111&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl63" height="20" style="height: 15.0pt; border-top: none;"&gt;Parent-ABC-111-AB1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Parent-ABC-111&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 17:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-values-after-minus-symbol/m-p/782479#M277118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-13T17:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Remove values after minus symbol</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-values-after-minus-symbol/m-p/782480#M277119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you always want the first three you could do something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Subfield([&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Current Output], '-', 1) &amp;amp; '-' &amp;amp; Subfield([&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Current Output], '-', 2) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;amp; '-' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Subfield([&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Current Output], '-', 3) as [Required Output]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 17:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-values-after-minus-symbol/m-p/782480#M277119</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2015-01-13T17:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remove values after minus symbol</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-values-after-minus-symbol/m-p/782481#M277120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = left (&amp;nbsp; 'Parent-ABC-111-AB0' ,&amp;nbsp; index ( 'Parent-ABC-111-AB0' , '-' , 3) -1 )&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 17:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-values-after-minus-symbol/m-p/782481#M277120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-13T17:31:12Z</dc:date>
    </item>
  </channel>
</rss>

