<?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: Mergin duplicate rows in QS in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Mergin-duplicate-rows-in-QS/m-p/1696217#M53253</link>
    <description>&lt;P&gt;Try something like this.&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim1,&lt;/P&gt;&lt;P&gt;Dim2,&amp;nbsp;&lt;/P&gt;&lt;P&gt;DimN&lt;/P&gt;&lt;P&gt;Max(Standardprice1) as Standardprice1,&lt;/P&gt;&lt;P&gt;Max(Standardprice2) as Standardprice2,&lt;/P&gt;&lt;P&gt;Max(Standardprice3) as Standardprice3&lt;/P&gt;&lt;P&gt;From TableSource&lt;/P&gt;&lt;P&gt;Group by Dim1, Dim2,DimN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2020 16:51:22 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2020-04-23T16:51:22Z</dc:date>
    <item>
      <title>Mergin duplicate rows in QS</title>
      <link>https://community.qlik.com/t5/App-Development/Mergin-duplicate-rows-in-QS/m-p/1696208#M53252</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have the following issue. I hope you can guide me to the correct method for solving this issue.&lt;/P&gt;&lt;P&gt;I have the following table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="MergeRows.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32358iDBEF926789657034/image-size/large?v=v2&amp;amp;px=999" role="button" title="MergeRows.JPG" alt="MergeRows.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;As you can see, the first row is duplicated except the value in "Standard Price New".&lt;/P&gt;&lt;P&gt;My question is, is there a way to merge the duplicated rows ad keep the one with values, i.e 5000 in this case? There are 4 columns called "Standard Price ...." and the values can appear in any 4 of them, including all.&lt;/P&gt;&lt;P&gt;NOTE: The same could happen for any row so its not like the position is fixed for the duplicated row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you require more information.&lt;/P&gt;&lt;P&gt;Resulting Table will only have the row with the value in the "standard Price ..." columns. So, is the picture above, the first row will disappear and the second row will take it's place.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Some background information as to how the second row is generated:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The second row is generated through a different script and then concatenated/joined to this table. which is why there are two rows with the same values.&amp;nbsp; The original table does not have any duplicates.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mergin-duplicate-rows-in-QS/m-p/1696208#M53252</guid>
      <dc:creator>waleeed_mahmood</dc:creator>
      <dc:date>2024-11-16T18:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mergin duplicate rows in QS</title>
      <link>https://community.qlik.com/t5/App-Development/Mergin-duplicate-rows-in-QS/m-p/1696217#M53253</link>
      <description>&lt;P&gt;Try something like this.&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim1,&lt;/P&gt;&lt;P&gt;Dim2,&amp;nbsp;&lt;/P&gt;&lt;P&gt;DimN&lt;/P&gt;&lt;P&gt;Max(Standardprice1) as Standardprice1,&lt;/P&gt;&lt;P&gt;Max(Standardprice2) as Standardprice2,&lt;/P&gt;&lt;P&gt;Max(Standardprice3) as Standardprice3&lt;/P&gt;&lt;P&gt;From TableSource&lt;/P&gt;&lt;P&gt;Group by Dim1, Dim2,DimN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 16:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mergin-duplicate-rows-in-QS/m-p/1696217#M53253</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-04-23T16:51:22Z</dc:date>
    </item>
  </channel>
</rss>

