<?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: Problem with min and max count using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600018#M1107050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a text box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Min = ' &amp;amp; min(aggr(count(distinct B),Date))&lt;/P&gt;&lt;P&gt;&amp;amp;&amp;nbsp; chr(10) &amp;amp; &lt;/P&gt;&lt;P&gt;'Max = ' &amp;amp; max(aggr(count(distinct B),Date))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2014 22:36:35 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-04-03T22:36:35Z</dc:date>
    <item>
      <title>Problem with min and max count using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600015#M1107047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to display the min count and also the max count of items in column B on any one day.&amp;nbsp; I have tried the aggr function and group by in script but to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;01/01/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC&lt;/P&gt;&lt;P&gt;01/01/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BDC&lt;/P&gt;&lt;P&gt;01/01/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF&lt;/P&gt;&lt;P&gt;02/01/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CAD&lt;/P&gt;&lt;P&gt;02/01/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC&lt;/P&gt;&lt;P&gt;03/01/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result that I'm after is min = 1 and max = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure it must be something really simple that I'm missing here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 21:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600015#M1107047</guid>
      <dc:creator />
      <dc:date>2014-04-03T21:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with min and max count using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600016#M1107048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To find &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;min = 1 and max = 3&lt;/SPAN&gt; on column B &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;freq:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;01/01/2014,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC&lt;/P&gt;&lt;P&gt;01/01/2014,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BDC&lt;/P&gt;&lt;P&gt;01/01/2014,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF&lt;/P&gt;&lt;P&gt;02/01/2014,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CAD&lt;/P&gt;&lt;P&gt;02/01/2014,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC&lt;/P&gt;&lt;P&gt;03/01/2014,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;MaxMinFind:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;B as Bid,&lt;/P&gt;&lt;P&gt;Count(B) as Freq&lt;/P&gt;&lt;P&gt;Resident freq&lt;/P&gt;&lt;P&gt;Group By B&lt;/P&gt;&lt;P&gt;Order by B asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMax = Peek('Freq',0,'MaxMinFind');&lt;/P&gt;&lt;P&gt;Let vMin = Peek('Freq',-1,'MaxMinFind');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table MaxMinFind;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And plot two text box and display Max and Min values like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=vMin and =vMax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 21:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600016#M1107048</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-03T21:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with min and max count using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600017#M1107049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it with the help of variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="min and max.jpg" class="jive-image" src="/legacyfs/online/56543_min and max.jpg" style="width: 620px; height: 215px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 21:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600017#M1107049</guid>
      <dc:creator>chiru_thota</dc:creator>
      <dc:date>2014-04-03T21:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with min and max count using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600018#M1107050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a text box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Min = ' &amp;amp; min(aggr(count(distinct B),Date))&lt;/P&gt;&lt;P&gt;&amp;amp;&amp;nbsp; chr(10) &amp;amp; &lt;/P&gt;&lt;P&gt;'Max = ' &amp;amp; max(aggr(count(distinct B),Date))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 22:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600018#M1107050</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-03T22:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with min and max count using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600019#M1107051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked well. Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 09:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600019#M1107051</guid>
      <dc:creator />
      <dc:date>2014-04-04T09:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with min and max count using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600020#M1107052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works well - thank you for your help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 09:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-min-and-max-count-using-set-analysis/m-p/600020#M1107052</guid>
      <dc:creator />
      <dc:date>2014-04-04T09:56:48Z</dc:date>
    </item>
  </channel>
</rss>

