<?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: Concatenating rows based on certain conditions? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401373#M561388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/184593#184593"&gt;http://community.qlik.com/message/184593#184593&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Mar 2013 16:56:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-03-28T16:56:40Z</dc:date>
    <item>
      <title>How to concatenate rows based on certain conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401369#M561384</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;&amp;nbsp;&amp;nbsp; My requirement is to concatenate rows based on certain conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; There are 3 fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35635" alt="1.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/35635_1.png" width="450" /&gt; &lt;/P&gt;&lt;P&gt;The field WARRANTY_CLAIM contains numbers , TEXT_NOTE field contains comments&amp;nbsp; and the filed NOTE_SEQ indicates sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is the field Text_NOTE holds comments, the comments are distributed over multiple rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; What i mean by that is (see the attached file) the comment " Some issue with the component ,it broke and has to be replaced by the end of next month" has been broken down and distributed in 3 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35636" alt="2.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/35636_2.png" width="450" /&gt; &lt;/P&gt;&lt;P&gt;Currently the values&amp;nbsp; in the field NOTE_SEQ 1305 indicates the start of comment,1306 indicates next comment followed by 1307 so on which ends at 1312.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly there are comments that start at 1205..may go till 1212&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some times a comment could fit in one row itself ..so it will have just a starting value of 1205 or 1305 (1205 or 1305 or 1605 indicate the start of comments)&lt;/P&gt;&lt;P&gt;followed by a row with a different warranty claim number which may have the value 1605 under the field NOTE_SEQ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to concatenate all the rows ..which should look like (see below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35637" alt="3.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/35637_3.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 19:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401369#M561384</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2013-03-27T19:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating rows based on certain conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401370#M561385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 20:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401370#M561385</guid>
      <dc:creator />
      <dc:date>2013-03-27T20:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating rows based on certain conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401371#M561386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the file with the concatenated NOTE_SEQ field included. I noticed you had that in your question, but forgot to include it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 21:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401371#M561386</guid>
      <dc:creator />
      <dc:date>2013-03-27T21:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating rows based on certain conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401372#M561387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rebecca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Very impressive the way you did it. Its very close to what I wanted . &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35690" alt="new_2nd_post.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/35690_new_2nd_post.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to display 1205 ( see fig above) as a separate record&amp;nbsp; ( I have circled it in red in the fig above) for record 1200590.(note 1200590 should appear twice in the table one record for 1205 series and one for 1305 series...so on )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is values starting 1205..to 12012 in&amp;nbsp; NOTE_SEQ must appear as one record for claim number 1200590 (circled in green)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and values starting 1305..to 13012 in&amp;nbsp; NOTE_SEQ must appear as another&amp;nbsp; record for claim number 1200590 (circled in green)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to make 1200590 appear twice in the table ie one record for 1205&amp;nbsp; and the other for concatenated 1305,1306,1307.(note in the snap I have attached above I have circled the number in red)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;P&gt;Swarup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 14:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401372#M561387</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2013-03-28T14:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating rows based on certain conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401373#M561388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/184593#184593"&gt;http://community.qlik.com/message/184593#184593&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 16:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401373#M561388</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-28T16:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating rows based on certain conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401374#M561389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That definitely makes it more complicated. I am not sure how to achieve that, but I can play around with it. It may be above my head though!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 18:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401374#M561389</guid>
      <dc:creator />
      <dc:date>2013-03-28T18:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating rows based on certain conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401375#M561390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rebecca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 19:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401375#M561390</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2013-03-28T19:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating rows based on certain conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401376#M561391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to find a work around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By creating a separate qvd for 1205..series ,one for 1305..series ,so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the logic Rebbeca, It really solved the issue &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 15:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401376#M561391</guid>
      <dc:creator>swarup_malli</dc:creator>
      <dc:date>2013-04-05T15:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating rows based on certain conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401377#M561392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am glad you figured it out! I played around with it for a little while with no luck and then got slammed at work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 15:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-concatenate-rows-based-on-certain-conditions/m-p/401377#M561392</guid>
      <dc:creator />
      <dc:date>2013-04-05T15:17:48Z</dc:date>
    </item>
  </channel>
</rss>

