<?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: Group By function in Expresssion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-By-function-in-Expresssion/m-p/379552#M494769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should give you the 5000 in your total for Nation Volume:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Sum( aggr( sum(Value), Territory,Zip))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what you want to see at the details level, so you may want to use a differnt expression for that dimensionality:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(dimensionality()=0,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum( aggr( sum(Value), Territory,Zip)),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;YourDetailsLevelsExpressionGoesHere&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2012 13:25:31 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-08-21T13:25:31Z</dc:date>
    <item>
      <title>Group By function in Expresssion</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-function-in-Expresssion/m-p/379551#M494768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a situation where I need to show sum of the value for nation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My fact is at ZIP level but at nation level I want sum up the data from territory level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I want see the value for 'Nation Volume' column as 5000 (refer attached QVW)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if any one help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Om.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 13:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-function-in-Expresssion/m-p/379551#M494768</guid>
      <dc:creator />
      <dc:date>2012-08-21T13:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Group By function in Expresssion</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-function-in-Expresssion/m-p/379552#M494769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should give you the 5000 in your total for Nation Volume:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Sum( aggr( sum(Value), Territory,Zip))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what you want to see at the details level, so you may want to use a differnt expression for that dimensionality:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(dimensionality()=0,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum( aggr( sum(Value), Territory,Zip)),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;YourDetailsLevelsExpressionGoesHere&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 13:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-function-in-Expresssion/m-p/379552#M494769</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-21T13:25:31Z</dc:date>
    </item>
  </channel>
</rss>

