<?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: Merging same rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1617087#M735751</link>
    <description>&lt;P&gt;I was able to solve the issue using a correct answer you gave to someone in community...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SubStringCount('|' &amp;amp; GetFieldSelections(Source, '|,|') &amp;amp; '|', '|Order|') = 1 and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SubStringCount('|' &amp;amp; GetFieldSelections(Source, '|,|') &amp;amp; '|', '|Invoice|') = 1,&amp;nbsp; Sum(OrderUnits) + Sum(InvoiceUnits),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&lt;/SPAN&gt;f(Source='Order',&lt;SPAN&gt;&amp;nbsp;Sum(OrderUnits),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(&lt;/STRONG&gt;&lt;STRONG&gt;Source = 'Invoice', Sum(InvoiceUnits))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/If-Condition-for-Multiple-And-values-in-expression/td-p/1263133" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/If-Condition-for-Multiple-And-values-in-expression/td-p/1263133&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;So I'd have to modify it to a 7 line exp&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2019 13:08:35 GMT</pubDate>
    <dc:creator>MK9885</dc:creator>
    <dc:date>2019-08-27T13:08:35Z</dc:date>
    <item>
      <title>Merging same rows</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1616758#M735748</link>
      <description>&lt;P&gt;I have a straight table with 10+ dimensions, 5+ measures&lt;/P&gt;&lt;P&gt;When I select filters etc.. I get 3 rows.&lt;/P&gt;&lt;P&gt;2 rows are exactly the same but one of the measure has 0 value in row1 &amp;amp; in 2nd row it has 0 value&lt;/P&gt;&lt;P&gt;Ex:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Employees&amp;nbsp; &amp;nbsp; &amp;nbsp; Amount Charge&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Amount remaining&lt;/P&gt;&lt;P&gt;Emp1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;45678&lt;/P&gt;&lt;P&gt;Emp1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12345&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried Aggr with IF, doesn't work...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=aggr(if(Sum({$&amp;lt;Filter= {'Charge', 'Charge Void'} &amp;gt;} Amount_Charge)&amp;lt;&amp;gt;0, Code), Code, other dimensions)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Above exp is only for Amount Charge column. I am not doing anything for Amount Remaining... not sure if I have to add 2nd calculated dim???&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I use above calculated dim, it gives removed 2nd row&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want both the rows but like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Employees&amp;nbsp; &amp;nbsp; &amp;nbsp; Amount Charge&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Amount remaining&lt;/P&gt;&lt;P&gt;Emp1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12345&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 45678&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help of suggestion would be appreciated.&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;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1616758#M735748</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Merging same rows</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1616766#M735749</link>
      <description>&lt;P&gt;Can you share a sample where we can see the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 18:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1616766#M735749</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-26T18:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Merging same rows</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1616787#M735750</link>
      <description>&lt;P&gt;Size is too large.. Even after reloading it to only current month.&lt;/P&gt;&lt;P&gt;Please see your inbox for attached image. Hopefully you can help me with looking at what I'm talking about?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 19:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1616787#M735750</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2019-08-26T19:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Merging same rows</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1617087#M735751</link>
      <description>&lt;P&gt;I was able to solve the issue using a correct answer you gave to someone in community...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SubStringCount('|' &amp;amp; GetFieldSelections(Source, '|,|') &amp;amp; '|', '|Order|') = 1 and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SubStringCount('|' &amp;amp; GetFieldSelections(Source, '|,|') &amp;amp; '|', '|Invoice|') = 1,&amp;nbsp; Sum(OrderUnits) + Sum(InvoiceUnits),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&lt;/SPAN&gt;f(Source='Order',&lt;SPAN&gt;&amp;nbsp;Sum(OrderUnits),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(&lt;/STRONG&gt;&lt;STRONG&gt;Source = 'Invoice', Sum(InvoiceUnits))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/If-Condition-for-Multiple-And-values-in-expression/td-p/1263133" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/If-Condition-for-Multiple-And-values-in-expression/td-p/1263133&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;So I'd have to modify it to a 7 line exp&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 13:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1617087#M735751</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2019-08-27T13:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Merging same rows</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1617092#M735752</link>
      <description>&lt;P&gt;Superb!!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 13:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1617092#M735752</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-27T13:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Merging same rows</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1617097#M735753</link>
      <description>&lt;P&gt;But I've similar issue or maybe different cus I have a requirement where a value should not show in chart if both of them are satisfied.&lt;BR /&gt;Ex:&lt;/P&gt;&lt;P&gt;A user has both Charge &amp;amp; Adjustment for CodeABC&lt;/P&gt;&lt;P&gt;Same user just has Charge but no adjustment but for a different Code123&lt;/P&gt;&lt;P&gt;Both the items are true but CodeABC should not be shown in a chart where it is missing Adjustment.&lt;/P&gt;&lt;P&gt;Any help you can do?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 13:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1617097#M735753</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2019-08-27T13:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Merging same rows</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1617164#M735754</link>
      <description>&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;A general question..&lt;/P&gt;&lt;P&gt;Ex: I have a patient with Charge &amp;amp; Adjustment with key123&lt;/P&gt;&lt;P&gt;Same patient just has charge but no adjustment with key555&lt;/P&gt;&lt;P&gt;Now I want to show value only where there is a charge but no adjustment.&lt;/P&gt;&lt;P&gt;So I want to satisfy both conditions for same key but I'm having hard time to compare within same keyfield.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 15:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-same-rows/m-p/1617164#M735754</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2019-08-27T15:11:19Z</dc:date>
    </item>
  </channel>
</rss>

