<?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: Using subfield with multiple selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-subfield-with-multiple-selections/m-p/16159#M2659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means, You are going to get first 4 words from Field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2018 00:29:35 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-01-30T00:29:35Z</dc:date>
    <item>
      <title>Using subfield with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Using-subfield-with-multiple-selections/m-p/16158#M2658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to do what I think might be a simple thing, though I might be going at it wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a piece of data (which happens to be a filename, but not too important)&lt;/P&gt;&lt;P&gt;it's in format:&lt;/P&gt;&lt;P&gt;Word-Thing-Idea-Number-Description-Iteration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is to parse out the first 4 subfields and call that 'id', ending up with:&lt;/P&gt;&lt;P&gt;Word-Thing-Idea-Number&amp;nbsp; only.&lt;/P&gt;&lt;P&gt;The lengths are different, so left() won't work.&lt;/P&gt;&lt;P&gt;subfield() seems to be producing strange results when I try different things.&lt;/P&gt;&lt;P&gt;Any way besides splitting it out individually and then re-concatenating it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 21:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-subfield-with-multiple-selections/m-p/16158#M2658</guid>
      <dc:creator>joey_lutes</dc:creator>
      <dc:date>2018-01-29T21:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using subfield with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Using-subfield-with-multiple-selections/m-p/16159#M2659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means, You are going to get first 4 words from Field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 00:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-subfield-with-multiple-selections/m-p/16159#M2659</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-30T00:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using subfield with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Using-subfield-with-multiple-selections/m-p/16160#M2660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield should work. Can you post or upload an example or your requirement in a qvw file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples for you &lt;A href="https://community.qlik.com/thread/37730"&gt;How to Split the string into number of sub strings&lt;/A&gt; and &lt;A href="https://community.qlik.com/thread/219960"&gt;how to extract date from filename&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 01:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-subfield-with-multiple-selections/m-p/16160#M2660</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2018-01-30T01:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using subfield with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Using-subfield-with-multiple-selections/m-p/16161#M2661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First off, this is Qlik Sense, so qvw isn't an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Data:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, data&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, ab-cde-efgh-ij-k-lm&lt;SPAN style="font-family: inherit; font-size: 10pt; font-style: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; font-style: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, abc-de-fg-hij-klm&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NewData:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(data, {fields1-4??}) as newdatafield&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Data;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Ideal end result:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;id, newdatafield&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ab-cde-efgh-ij&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;abc-de-fg-hij&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 19:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-subfield-with-multiple-selections/m-p/16161#M2661</guid>
      <dc:creator>joey_lutes</dc:creator>
      <dc:date>2018-01-31T19:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using subfield with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Using-subfield-with-multiple-selections/m-p/16162#M2662</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;LOAD *, LEFT(data, Index(data, '-',4)-1) AS NewDatafield INLINE [&lt;/P&gt;&lt;P&gt;id, data&lt;/P&gt;&lt;P&gt;1, ab-cde-efgh-ij-k-lm&amp;nbsp; &lt;/P&gt;&lt;P&gt;2, abc-de-fg-hij-klm&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 22:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-subfield-with-multiple-selections/m-p/16162#M2662</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-01-31T22:11:09Z</dc:date>
    </item>
  </channel>
</rss>

