<?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 How to sum group by high level? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-sum-group-by-high-level/m-p/192515#M54157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i don't know what do you mean by "there will be wrong"? if it is that you getting from debugging, may be you are missing a "Group By" , which is mandatory for any aggregation function in the script.&lt;/P&gt;&lt;P&gt;Regards, tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Jan 2011 11:54:38 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2011-01-29T11:54:38Z</dc:date>
    <item>
      <title>How to sum group by high level?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-group-by-high-level/m-p/192514#M54156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, there are two tables,&lt;/P&gt;&lt;P&gt;City_Sales:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Country,State,City,City-Sales&lt;BR /&gt;C1,S1,C1,5000&lt;BR /&gt;C1,S1,C2,8000&lt;BR /&gt;C1,S2,C3,7600&lt;BR /&gt;:&lt;BR /&gt;:&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;State_Sales:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;State,State-Sales&lt;BR /&gt;S1,35000&lt;BR /&gt;S2,87500&lt;BR /&gt;:&lt;BR /&gt;:&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are auto-joined by field "State". But the sales in table "State" is not that sum from sales in "City", they are unrelated. But I want to get Country-Sales by sum State-Sales.&lt;/P&gt;&lt;P&gt;I want to show this&lt;/P&gt;&lt;P&gt;Country State City City-Sales State-Sales Country-Sales&lt;BR /&gt;C1 S1 C1 5000 35000 122500&lt;BR /&gt;C1 S1 C2 8000 35000 122500&lt;BR /&gt;C1 S2 C3 7600 87500 122500&lt;BR /&gt;:&lt;BR /&gt;:&lt;/P&gt;&lt;P&gt;If just use "sum(State-Sales)" as a expression for column "State-Sales", there will be wrong. What expression is correct?(State-Sales and Country-Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jan 2011 09:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-group-by-high-level/m-p/192514#M54156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-29T09:26:09Z</dc:date>
    </item>
    <item>
      <title>How to sum group by high level?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-group-by-high-level/m-p/192515#M54157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i don't know what do you mean by "there will be wrong"? if it is that you getting from debugging, may be you are missing a "Group By" , which is mandatory for any aggregation function in the script.&lt;/P&gt;&lt;P&gt;Regards, tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jan 2011 11:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-group-by-high-level/m-p/192515#M54157</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2011-01-29T11:54:38Z</dc:date>
    </item>
    <item>
      <title>How to sum group by high level?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-group-by-high-level/m-p/192516#M54158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Try using the following expression to get the Country total -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(TOTAL&amp;lt;Country&amp;gt;[State-Sales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TOTAL keyword will remove all dimensionality for the expression, but the &amp;lt;Country&amp;gt; will reintroduce the Country dimension, thus giving a total specific to each different Country value.&lt;/P&gt;&lt;P&gt;I hope this makes sense.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jan 2011 22:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-group-by-high-level/m-p/192516#M54158</guid>
      <dc:creator />
      <dc:date>2011-01-29T22:24:15Z</dc:date>
    </item>
  </channel>
</rss>

