<?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: Merge rows and join columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281131#M854383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/153210_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load your table as is and use Straight table with Expressions as your fields like. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Straight table.&lt;/P&gt;&lt;P&gt;Dim: ID&lt;/P&gt;&lt;P&gt;Expr: Sum(F1) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(F2).....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(F5)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2017 16:37:16 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-02-15T16:37:16Z</dc:date>
    <item>
      <title>Merge rows and join columns</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281127#M854379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Can we merge rows in a table and join the columns (fields)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached example of input table and expected resultant table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs&lt;/P&gt;&lt;P&gt;- Umashankar&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/Merge-rows-and-join-columns/m-p/1281127#M854379</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Merge rows and join columns</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281128#M854380</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;Table:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID,F1,F2,F3,F4,F5&lt;/P&gt;&lt;P&gt;12341,1,2&lt;/P&gt;&lt;P&gt;12342,23,24&lt;/P&gt;&lt;P&gt;12343,22,55&lt;/P&gt;&lt;P&gt;12344,44,432&lt;/P&gt;&lt;P&gt;12341,,,,11&lt;/P&gt;&lt;P&gt;12343,,,,66,77&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(F1) AS F1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(F2) AS F2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(F3) AS F3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(F4) AS F4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(F5) AS F5&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table&lt;/P&gt;&lt;P&gt;GROUP BY &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID;&lt;/P&gt;&lt;P&gt;DROP Table &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 15:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281128#M854380</guid>
      <dc:creator>aarkay29</dc:creator>
      <dc:date>2017-02-15T15:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Merge rows and join columns</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281129#M854381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try with&amp;nbsp; like AGGR(Distnict(ID)).....?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 15:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281129#M854381</guid>
      <dc:creator>surendraj</dc:creator>
      <dc:date>2017-02-15T15:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Merge rows and join columns</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281130#M854382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the response&lt;/P&gt;&lt;P&gt;One of the column (Field3) holds only string values and not numbers&lt;/P&gt;&lt;P&gt;In such case, it displays null value in the resultant table. Any other function that we need to use instead of Sum(Field3) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 16:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281130#M854382</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2017-02-15T16:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Merge rows and join columns</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281131#M854383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/153210_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load your table as is and use Straight table with Expressions as your fields like. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Straight table.&lt;/P&gt;&lt;P&gt;Dim: ID&lt;/P&gt;&lt;P&gt;Expr: Sum(F1) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(F2).....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(F5)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 16:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281131#M854383</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-02-15T16:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Merge rows and join columns</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281132#M854384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just use group id on ur load script,that helps to merge the rows based on id.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 16:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281132#M854384</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2017-02-15T16:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Merge rows and join columns</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281133#M854385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the response&lt;/P&gt;&lt;P&gt;I used 5 expression one for each field&lt;/P&gt;&lt;P&gt;AGGR(Field1,ID)&lt;/P&gt;&lt;P&gt;AGGR(Field2,ID)&lt;/P&gt;&lt;P&gt;AGGR(Field3,ID)&lt;/P&gt;&lt;P&gt;AGGR(Field4,ID)&lt;/P&gt;&lt;P&gt;AGGR(Field5,ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to work and I get the resultant table with merged / grouped rows (based on ID) and the columns joined&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my real data has 100s of columns, which would mean the number of expressions to be repeated&lt;/P&gt;&lt;P&gt;Is there options to simplify this in the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 16:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281133#M854385</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2017-02-15T16:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Merge rows and join columns</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281134#M854386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If field consists of string values then i would recommend to drop the the field the from the table. Use group by only for the fields &lt;SPAN style="font-size: 13.3333px;"&gt;containing numerical and then apply match the string field to the above table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 17:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281134#M854386</guid>
      <dc:creator>aarkay29</dc:creator>
      <dc:date>2017-02-15T17:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Merge rows and join columns</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281135#M854387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; let say F4 has string values&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table:&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;ID,F1,F2,F3,F4,F5&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;12341,1,2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;12342,23,24&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;12343,22,55&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;12344,44,432&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;12341,,,,ab&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;12343,,,,bcd,77&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&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&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; Sum(F1) AS F1,&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; Sum(F2) AS F2,&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; Sum(F3) AS F3,&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; CONCAT(F4) AS F4,&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; Sum(F5) AS F5&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident&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;&amp;nbsp;&amp;nbsp; Table&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;GROUP BY&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;&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;DROP Table&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; Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 18:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281135#M854387</guid>
      <dc:creator>aarkay29</dc:creator>
      <dc:date>2017-02-15T18:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Merge rows and join columns</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281136#M854388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your table might be a concatenation of two tables,&lt;/P&gt;&lt;P&gt;one being "ID, Field1, Field2" and the other "ID, Field3, Field4, Field5".&lt;/P&gt;&lt;P&gt;If so then try with joining those tables on the ID field instead of &lt;SPAN style="font-size: 13.3333px;"&gt;concatenating.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Feb 2017 00:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-rows-and-join-columns/m-p/1281136#M854388</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-02-18T00:47:41Z</dc:date>
    </item>
  </channel>
</rss>

