<?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: aggregation with set analysis issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggregation-with-set-analysis-issue/m-p/1238019#M393563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide sample app or dummy data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2016 15:57:18 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2016-11-28T15:57:18Z</dc:date>
    <item>
      <title>aggregation with set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation-with-set-analysis-issue/m-p/1238018#M393562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope i can get you to understand my issue,&lt;/P&gt;&lt;P&gt;got a table containing the following fields:&lt;/P&gt;&lt;P&gt;ID, StationID ,Date, Box, Active&lt;/P&gt;&lt;P&gt;i need to present a number counting how many StationsIDs are following these rules:&lt;/P&gt;&lt;P&gt;1. Box= &lt;SPAN style="font-size: 13.3333px;"&gt;Yes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Active= Yes&lt;/P&gt;&lt;P&gt;3. Date= (last max value, already got this from a different table, can call id Max_date..)&lt;/P&gt;&lt;P&gt;3. Date= in last year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having issues combining all of these together trying to use Aggr and set expressions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(count(DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp; {$&amp;lt;Date = {"Year to Date"}, Active={"Yes"}, &lt;SPAN style="font-size: 13.3333px;"&gt;Box&lt;/SPAN&gt;={"Yes"}}&amp;gt;}&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;StationID&lt;/SPAN&gt;),max_date,StationID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will appreciate any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 15:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation-with-set-analysis-issue/m-p/1238018#M393562</guid>
      <dc:creator />
      <dc:date>2016-11-28T15:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: aggregation with set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation-with-set-analysis-issue/m-p/1238019#M393563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide sample app or dummy data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 15:57:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation-with-set-analysis-issue/m-p/1238019#M393563</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-11-28T15:57:18Z</dc:date>
    </item>
  </channel>
</rss>

