<?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: Re: AGGR in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-in-Set-Analysis/m-p/730734#M261745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not able to share the full document but I can share the attached.&amp;nbsp; The chart labeled "By Network Top Series HH" is the one that will not return for me.&amp;nbsp; The chart "Top 10 Series" is accurately showing the right Series and HH values.&amp;nbsp; I want to aggregate up that table into just the Network level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2014 17:46:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-30T17:46:05Z</dc:date>
    <item>
      <title>AGGR in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-in-Set-Analysis/m-p/730732#M261743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to sum the top 10 series within a television network.&amp;nbsp;&amp;nbsp; I was able to successfully get a list of the top 10 series using a calculated dimension&amp;nbsp; of =aggr(if(rank(sum(households))&amp;lt;=$(=vYLimitNum),$(=vYAxis)),$(=vXAxis),$(=vYAxis))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vYLimitNum=10&lt;/P&gt;&lt;P&gt;vYAxis = Series&lt;/P&gt;&lt;P&gt;vXAxis = Network&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I go to try and get a sum of the households for just those series aggregated to the network I can't get my sum function to aggregate correctly.&amp;nbsp; A simple sum(households) returns all HHs correctly.&amp;nbsp; I've tried this sum expressions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Network=, Series={"=aggr(if(rank(sum(households))&amp;lt;=$(=vYLimitNum),$(=vYAxis)),$(=vYAxis))"}&amp;gt;} households)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it returns no data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts on how I might be about to correctly setup that set analysis?&amp;nbsp;&amp;nbsp; Of if I have to use set analysis.&amp;nbsp; This has to be dynamic so I can't create a summary table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 17:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-in-Set-Analysis/m-p/730732#M261743</guid>
      <dc:creator />
      <dc:date>2014-09-30T17:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-in-Set-Analysis/m-p/730733#M261744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how about wrapping with sum()&amp;nbsp; ?&amp;nbsp; Otherwise i'd like to see the QVW if you can share. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;aggr(if(rank(sum(households))&amp;lt;=$(=vYLimitNum),$(=vYAxis)),$(=vXAxis),$(=vYAxis))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 17:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-in-Set-Analysis/m-p/730733#M261744</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-30T17:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Re: AGGR in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-in-Set-Analysis/m-p/730734#M261745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not able to share the full document but I can share the attached.&amp;nbsp; The chart labeled "By Network Top Series HH" is the one that will not return for me.&amp;nbsp; The chart "Top 10 Series" is accurately showing the right Series and HH values.&amp;nbsp; I want to aggregate up that table into just the Network level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 17:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-in-Set-Analysis/m-p/730734#M261745</guid>
      <dc:creator />
      <dc:date>2014-09-30T17:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-in-Set-Analysis/m-p/730735#M261746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HA!&amp;nbsp; I figured it out and that SUM suggestion did work I just had to tweak the aggr to return my metric and not the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ended up with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(if(rank(sum(Households))&amp;lt;=$(=vYLimitNum),Households),$(=vXAxis),$(=vYAxis)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 17:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-in-Set-Analysis/m-p/730735#M261746</guid>
      <dc:creator />
      <dc:date>2014-09-30T17:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-in-Set-Analysis/m-p/730736#M261747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good. Don't forget to close out the thread .:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 19:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-in-Set-Analysis/m-p/730736#M261747</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-30T19:13:28Z</dc:date>
    </item>
  </channel>
</rss>

