<?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 Trim field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421881#M798560</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;We need to trim field based on some conditions as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached spreadsheet for more detail reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 921px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" width="410"&gt;Supplier ID&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="322"&gt;Supplier ID&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="189"&gt;Expected Result&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="17" style="border-top: none;"&gt;0000112553_1300&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;C0_112553&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;112553&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0000112554_1200&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;C1_112554&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;112554&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0000112555_3456&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;F1_112555&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;112555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0000112556_4568&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;H0_112556&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;112556&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0000112557_6544&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;H1_112557&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;112557&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0000112558_2456&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;H2_112558&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;112558&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: none;"&gt;Remove Zeros at starting and remove detail after '_' (example&amp;nbsp; 112553)&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Remove detail before '_'&amp;nbsp;&amp;nbsp; (example 112553)&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &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;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>nareshthavidishetty</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Trim field</title>
      <link>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421881#M798560</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;We need to trim field based on some conditions as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached spreadsheet for more detail reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 921px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" width="410"&gt;Supplier ID&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="322"&gt;Supplier ID&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="189"&gt;Expected Result&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="17" style="border-top: none;"&gt;0000112553_1300&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;C0_112553&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;112553&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0000112554_1200&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;C1_112554&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;112554&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0000112555_3456&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;F1_112555&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;112555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0000112556_4568&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;H0_112556&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;112556&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0000112557_6544&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;H1_112557&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;112557&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0000112558_2456&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;H2_112558&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;"&gt;112558&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: none;"&gt;Remove Zeros at starting and remove detail after '_' (example&amp;nbsp; 112553)&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;Remove detail before '_'&amp;nbsp;&amp;nbsp; (example 112553)&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &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;Thanks..&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/Trim-field/m-p/1421881#M798560</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trim field</title>
      <link>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421882#M798561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the C,F,H ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be look SubField() function ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 13:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421882#M798561</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-18T13:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trim field</title>
      <link>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421883#M798562</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;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;These were the prefix for the ID's.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The motive is to get both supplierId's from two different sources into one format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 13:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421883#M798562</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-12-18T13:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trim field</title>
      <link>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421884#M798563</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;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD SubField(F1, '_', 1) * 1 as Expected1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SubField(F2, '_', 2) as Expected2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;F1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;F2;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0000112553_1300, C0_112553&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0000112554_1200, C1_112554&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0000112555_3456, F1_112555&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0000112556_4568, H0_112556&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0000112557_6544, H1_112557&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0000112558_2456, H2_112558&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 13:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421884#M798563</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-18T13:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trim field</title>
      <link>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421885#M798564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means you have 2 fields already. So SubField() works for you?? Look in help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 13:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421885#M798564</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-18T13:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Trim field</title>
      <link>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421886#M798565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe try 'Mid' function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mid(FieldName,StartNum,EndNum) as NewValue&lt;/P&gt;&lt;P&gt;mid([Supplier ID], 5, 10) as New Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Paulina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 13:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim-field/m-p/1421886#M798565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-18T13:17:58Z</dc:date>
    </item>
  </channel>
</rss>

