<?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 Aggr for Two dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-for-Two-dimensions/m-p/326030#M497750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: bold;"&gt;aggr( sum(Sales), Country, Region ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2011 11:40:16 GMT</pubDate>
    <dc:creator>suniljain</dc:creator>
    <dc:date>2011-09-06T11:40:16Z</dc:date>
    <item>
      <title>Aggr for Two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-for-Two-dimensions/m-p/326029#M497749</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;&lt;/P&gt;&lt;P&gt;I would like to display a top in opposite from 2 dimensions.&lt;/P&gt;&lt;P&gt;In my case, I would like a top 10 (Sales) of Products by Activity of Customer&amp;nbsp; :it's ok.&lt;/P&gt;&lt;P&gt;I input these function in used dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - Activity of Customer &lt;/P&gt;&lt;P&gt;2 - Product (with formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(aggr(rank(Sum({&amp;lt;DATELIV={"$(='&amp;gt;=' &amp;amp; date(vStartDate1) &amp;amp; '&amp;lt;=' &amp;amp; date(vEndDate1))"}&amp;gt;}Sales)),Product)&amp;lt;=10,Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;DATELIV={"$(='&amp;gt;=' &amp;amp; date(vStartDate1) &amp;amp; '&amp;lt;=' &amp;amp; date(vEndDate1))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem, It's to recuperate those data and to put them in other dimension :The country.&lt;/P&gt;&lt;P&gt;In order : Country/Activity of Customer/Top 10 Products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't arrive to input this dimension at the top of used dimension because the filters are applied under the sub dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks by advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 11:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-for-Two-dimensions/m-p/326029#M497749</guid>
      <dc:creator />
      <dc:date>2011-09-06T11:38:33Z</dc:date>
    </item>
    <item>
      <title>Aggr for Two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-for-Two-dimensions/m-p/326030#M497750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: bold;"&gt;aggr( sum(Sales), Country, Region ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 11:40:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-for-Two-dimensions/m-p/326030#M497750</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-09-06T11:40:16Z</dc:date>
    </item>
    <item>
      <title>Aggr for Two dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-for-Two-dimensions/m-p/326031#M497751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried this function but I didn't arrive to put correctly in function of my structure.&lt;/P&gt;&lt;P&gt;(I m a beginner).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put this at the top of the used dimension?This function will implicate the aggr() in the sub dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 12:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-for-Two-dimensions/m-p/326031#M497751</guid>
      <dc:creator />
      <dc:date>2011-09-06T12:39:05Z</dc:date>
    </item>
  </channel>
</rss>

