<?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: Split delimiter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23875#M787635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;SubField(Site, '-', 1) AS ColumnA,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SubField(Site, '-', 2) AS ColumnB,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Will work if the data is consistent, i.e.: no misplaced "-" that you don't want to filter in that exact position&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Feb 2018 15:26:11 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2018-02-14T15:26:11Z</dc:date>
    <item>
      <title>Split delimiter</title>
      <link>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23874#M787634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a column (Site) that contains fields like "Qatar_7-newsuk-thesun",&lt;/P&gt;&lt;P&gt;I &lt;SPAN style="font-size: 10pt;"&gt;was asked to display&amp;nbsp; 2 new column (column &lt;STRONG&gt;A&lt;/STRONG&gt; + column &lt;STRONG&gt;B&lt;/STRONG&gt;)&amp;nbsp; by dividing column "&lt;SPAN style="font-size: 13.3333px;"&gt;Site"&amp;nbsp; &lt;/SPAN&gt;by delimiter &lt;STRONG&gt;"-"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The division will be until the first dash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final result should be:&lt;/P&gt;&lt;P&gt;the data displayed in column A : &lt;SPAN style="font-size: 13.3333px;"&gt;Qatar_7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;the data displayed in column &lt;/SPAN&gt;B :&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;newsuk&lt;SPAN style="font-size: 13.3333px;"&gt;-&lt;/SPAN&gt;thesun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I &lt;SPAN style="font-size: 13.3333px;"&gt;have &lt;/SPAN&gt;attached &lt;SPAN style="font-size: 13.3333px;"&gt;an &lt;/SPAN&gt;example qvw&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/Split-delimiter/m-p/23874#M787634</guid>
      <dc:creator>ttal7878</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Split delimiter</title>
      <link>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23875#M787635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;SubField(Site, '-', 1) AS ColumnA,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SubField(Site, '-', 2) AS ColumnB,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Will work if the data is consistent, i.e.: no misplaced "-" that you don't want to filter in that exact position&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 15:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23875#M787635</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-02-14T15:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Split delimiter</title>
      <link>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23876#M787636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Miguel for your replay, &lt;/P&gt;&lt;P&gt;But my intention is, the division will be up to the first dash, and then to display the information as it is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;Qatar_7-newsuk-thesun-&lt;/P&gt;&lt;P&gt;Column A: &lt;SPAN style="font-size: 13.3333px;"&gt;Qatar_7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Column &lt;/SPAN&gt;B: newsuk&lt;SPAN style="font-size: 13.3333px;"&gt;-&lt;/SPAN&gt;thesun&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 15:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23876#M787636</guid>
      <dc:creator>ttal7878</dc:creator>
      <dc:date>2018-02-14T15:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Split delimiter</title>
      <link>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23877#M787637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use instead for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mid(SIte, Index(SIte, '-', 1)+1) AS ColumB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 15:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23877#M787637</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-02-14T15:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Split delimiter</title>
      <link>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23878#M787638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide expected result set from this row? &lt;STRONG&gt;Chile_Desktop34-msn-outlook-chile&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 15:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23878#M787638</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-02-14T15:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Split delimiter</title>
      <link>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23879#M787640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! &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, 14 Feb 2018 15:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23879#M787640</guid>
      <dc:creator>ttal7878</dc:creator>
      <dc:date>2018-02-14T15:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Split delimiter</title>
      <link>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23880#M787642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/17633"&gt;mbaeyens&lt;/A&gt;‌ &lt;/P&gt;&lt;P&gt;Is it possible that when the field does not contain "-", a blank value will be inserted into column B?&lt;/P&gt;&lt;P&gt;For example, the field "VE_30" doesn't contain "-" , therefore &lt;SPAN style="font-size: 13.3333px;"&gt;a blank value will enter &lt;/SPAN&gt;column B &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 12:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23880#M787642</guid>
      <dc:creator>ttal7878</dc:creator>
      <dc:date>2018-02-15T12:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Split delimiter</title>
      <link>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23881#M787645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you will need to add a conditional that if the expression above so if the Len() of the result = 0, then ' ', otherwise Mid(...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 14:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23881#M787645</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-02-15T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Split delimiter</title>
      <link>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23882#M787646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or with a proper syntax:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #edf8ca;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If(Len(Mid(SIte, Index(SIte, '-', 1)+1) = 0, ' ', Mid(SIte, Index(SIte, '-', 1)+1)) AS ColumB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 14:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23882#M787646</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-02-15T14:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Split delimiter</title>
      <link>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23883#M787649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was not exactly what I meant, but I managed to find a solution.&lt;/P&gt;&lt;P&gt;many thanks &lt;A href="https://community.qlik.com/qlik-users/17633"&gt;mbaeyens&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;if(Index(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SIte&lt;/SPAN&gt;,'-'),Mid(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SIte&lt;/SPAN&gt;, Index(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SIte&lt;/SPAN&gt;, '-', 1)+1),'') AS ColumnB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 16:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-delimiter/m-p/23883#M787649</guid>
      <dc:creator>ttal7878</dc:creator>
      <dc:date>2018-02-15T16:32:05Z</dc:date>
    </item>
  </channel>
</rss>

