<?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 function inside set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/function-inside-set-analysis/m-p/320566#M118145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep it has worked so far. Thanks! Now I am going to expand the complexity!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2011 20:51:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-23T20:51:56Z</dc:date>
    <item>
      <title>function inside set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-inside-set-analysis/m-p/320562#M118141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to calculate the number of occurences that only one visit was done by a certain representative. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally an easy set analysis would do the trick, but the amount of visits are calculated through an expression already "count({&amp;lt;visitsyear={$(selectedyear)}&amp;gt;}visitatlocation)", which makes it impossible to use set analysis. Turning the expression into a variable and then making a new set analysis doesn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me it feels like you would do a countif in excel, yet i cannot find an alternative for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Representative Company&amp;nbsp;&amp;nbsp;&amp;nbsp; Visits&lt;/P&gt;&lt;P&gt;&amp;nbsp; John&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&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; 4&lt;/P&gt;&lt;P&gt;&amp;nbsp; John&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&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; 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; John&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&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; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; John&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&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; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is what other options do I have? Aggr?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 20:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-inside-set-analysis/m-p/320562#M118141</guid>
      <dc:creator />
      <dc:date>2011-05-23T20:15:00Z</dc:date>
    </item>
    <item>
      <title>function inside set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-inside-set-analysis/m-p/320563#M118142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not clear what you are trying to achieve. Could you please describe how the result column should look like in your example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 20:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-inside-set-analysis/m-p/320563#M118142</guid>
      <dc:creator>yasus</dc:creator>
      <dc:date>2011-05-23T20:27:42Z</dc:date>
    </item>
    <item>
      <title>function inside set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-inside-set-analysis/m-p/320564#M118143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be a single value expressing the amount of occurences that only 1 visits was given to a certain company by a specific sales representative. So in the example: the answer should be 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first I tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;visitsyear={$(selectedyear),count(visitlocation)={'1'}&amp;gt;}visitatlocation), yet QV doesnt allow a count in the modifier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 20:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-inside-set-analysis/m-p/320564#M118143</guid>
      <dc:creator />
      <dc:date>2011-05-23T20:37:56Z</dc:date>
    </item>
    <item>
      <title>function inside set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-inside-set-analysis/m-p/320565#M118144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Try this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum (&amp;nbsp; aggr ( &lt;/P&gt;&lt;P&gt; if( &lt;/P&gt;&lt;P&gt; count({&amp;lt;visitsyear={$(selectedyear)}&amp;gt;}visitatlocation) = 1, 1,0) &lt;/P&gt;&lt;P&gt;, Representative, Company) &lt;/P&gt;&lt;P&gt;) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 20:40:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-inside-set-analysis/m-p/320565#M118144</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-23T20:40:47Z</dc:date>
    </item>
    <item>
      <title>function inside set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/function-inside-set-analysis/m-p/320566#M118145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep it has worked so far. Thanks! Now I am going to expand the complexity!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 20:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/function-inside-set-analysis/m-p/320566#M118145</guid>
      <dc:creator />
      <dc:date>2011-05-23T20:51:56Z</dc:date>
    </item>
  </channel>
</rss>

