<?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 Adding set analysis to count function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329475#M1167986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have a functioning expression :- count(if(mid(Move_Out_Date,4,2)='08'and (mid(Move_Out_Date,7,4)='2011')and left(Post_Code,4)='SO15','Count'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add a bit of set analysis to this expression and its not liking it, here is what I am trying :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(mid(Move_Out_Date,4,2)='08'and (mid(Move_Out_Date,7,4)='2011')and left(Post_Code,4)='SO15' &lt;STRONG&gt;and Count({&amp;lt; Installation= {"&amp;gt;1"} &amp;gt; } CA),&lt;/STRONG&gt;'Count'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2012 15:02:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-31T15:02:03Z</dc:date>
    <item>
      <title>Adding set analysis to count function</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329475#M1167986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have a functioning expression :- count(if(mid(Move_Out_Date,4,2)='08'and (mid(Move_Out_Date,7,4)='2011')and left(Post_Code,4)='SO15','Count'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add a bit of set analysis to this expression and its not liking it, here is what I am trying :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(mid(Move_Out_Date,4,2)='08'and (mid(Move_Out_Date,7,4)='2011')and left(Post_Code,4)='SO15' &lt;STRONG&gt;and Count({&amp;lt; Installation= {"&amp;gt;1"} &amp;gt; } CA),&lt;/STRONG&gt;'Count'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 15:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329475#M1167986</guid>
      <dc:creator />
      <dc:date>2012-07-31T15:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding set analysis to count function</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329476#M1167987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( {&amp;lt; Installation= {"&amp;gt;1"} &amp;gt; }if(mid(Move_Out_Date,4,2)='08'and (mid(Move_Out_Date,7,4)='2011')and left(Post_Code,4)='SO15',CA))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 15:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329476#M1167987</guid>
      <dc:creator />
      <dc:date>2012-07-31T15:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding set analysis to count function</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329477#M1167988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview didnt like that, error in expression :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19191" class="jive-image-thumbnail jive-image" onclick="" alt="qverror.JPG" src="https://community.qlik.com/legacyfs/online/19191_qverror.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 15:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329477#M1167988</guid>
      <dc:creator />
      <dc:date>2012-07-31T15:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding set analysis to count function</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329478#M1167989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;spencer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two thing to note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt; Installation= {"&amp;gt;1"} &amp;gt; } CA) is not a condition. It would always return true.&lt;/P&gt;&lt;P&gt;Count({&amp;lt; Installation= {"&amp;gt;1"} &amp;gt; } CA) is a group funtion (not a row level funtion) which is applied on what seems to be applied on a row operation. This doesnt make sense to QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying to validate this at for a dimension then try aggr() function for the new condition. Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(if(aggr(Count({&amp;lt; Installation= {"&amp;gt;1"} &amp;gt; } CA), CA) &amp;gt; 1,&lt;/P&gt;&lt;P&gt;Count(if(mid(Move_Out_Date,4,2)='08'and (mid(Move_Out_Date,7,4)='2011')and left(Post_Code,4)='SO15',1)),0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 15:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329478#M1167989</guid>
      <dc:creator />
      <dc:date>2012-07-31T15:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding set analysis to count function</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329479#M1167990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is spitting out Null '-'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 15:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329479#M1167990</guid>
      <dc:creator />
      <dc:date>2012-07-31T15:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding set analysis to count function</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329480#M1167992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Try: (i believe there is an extra ',' infront of if in you syntax) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;count( {&amp;lt; Installation= {"&amp;gt;1"} &amp;gt; }if(mid(Move_Out_Date,4,2)='08'and (mid(Move_Out_Date,7,4)='2011')and left(Post_Code,4)='SO15',CA))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 15:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-set-analysis-to-count-function/m-p/329480#M1167992</guid>
      <dc:creator />
      <dc:date>2012-07-31T15:39:00Z</dc:date>
    </item>
  </channel>
</rss>

