<?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: Can't combine rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-t-combine-rows/m-p/665095#M1087547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove UnitPrice from dimension and use expression like =Sum(UnitPrice)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jun 2014 05:10:00 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-06-12T05:10:00Z</dc:date>
    <item>
      <title>Can't combine rows</title>
      <link>https://community.qlik.com/t5/QlikView/Can-t-combine-rows/m-p/665094#M1087546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to Qlikview and developing a dashboard.&amp;nbsp; I am working on a Pivot table that gives details to users based on type of service provided.&amp;nbsp; Currently I have this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="60442" alt="dash.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60442_dash.png" /&gt;&lt;/P&gt;&lt;P&gt;As you can see it works well but I need to be able to display all similar services as a single row with total number of units.&amp;nbsp; This means that the 5th entry in the example above should simply be one row with a total of 131 Units.&amp;nbsp; Units is a column read from a database and the 3 entries come from the fact the user has placed 3 orders each with a different number of units so there are 3 rows.&amp;nbsp; I have tried changing the column to be a calculated dimension "sum(Units)" but my table then looks like below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="60470" alt="dash.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60470_dash.png" /&gt;&lt;/P&gt;&lt;P&gt;I have looked online and found an option to use the aggr function to perform a 'group by' but I am not having success.&amp;nbsp; I have tried&amp;nbsp; "=If(Service = 'SAN GB', Aggr(sum(Units),Units),Units)".&amp;nbsp; This however gives wrong values and "=If(Service = 'SAN GB', Aggr(sum(Units),UnitPrice),Units)" gives the below results:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="60471" alt="dash.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60471_dash.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*I added the if statement since there are other values in the column "Service" but they are not causing issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how best to get the results I need.&amp;nbsp; Any help or a nudge in the right direction will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 04:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-t-combine-rows/m-p/665094#M1087546</guid>
      <dc:creator />
      <dc:date>2014-06-12T04:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can't combine rows</title>
      <link>https://community.qlik.com/t5/QlikView/Can-t-combine-rows/m-p/665095#M1087547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove UnitPrice from dimension and use expression like =Sum(UnitPrice)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 05:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-t-combine-rows/m-p/665095#M1087547</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-12T05:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't combine rows</title>
      <link>https://community.qlik.com/t5/QlikView/Can-t-combine-rows/m-p/665096#M1087548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help.&amp;nbsp; The issue with this is that there are more columns after Units that detail when the services were ordered:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dash.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60472_dash.png" style="width: 620px; height: 206px;" /&gt;&lt;/P&gt;&lt;P&gt;If I was to make the Units an expression instead of a dimension wouldn't it mess up the rest of the table?&amp;nbsp; If possible a calculated dimension would work best for my needs from what I have read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Sorry for not clarifying this earlier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 05:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-t-combine-rows/m-p/665096#M1087548</guid>
      <dc:creator />
      <dc:date>2014-06-12T05:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can't combine rows</title>
      <link>https://community.qlik.com/t5/QlikView/Can-t-combine-rows/m-p/665097#M1087549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is why it is always recommended to share your sample qvw, otherwise, the thread length keeps growing with such unwanted misunderstanding issues. &lt;A href="http://community.qlik.com/docs/DOC-1290" title="http://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and D... | Qlik Community&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 05:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-t-combine-rows/m-p/665097#M1087549</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-12T05:26:43Z</dc:date>
    </item>
  </channel>
</rss>

