<?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 Set analysis - excluded issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-excluded-issue/m-p/1044874#M16376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm fairly new to set analysis.&lt;/P&gt;&lt;P&gt;I am trying to calculate all references where it took less than 30 days, ignoring the selection in the filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an expression using set analysis but it doesn't return the correct values. ie.&lt;/P&gt;&lt;P&gt;COUNT({$&amp;lt;Reviewer=&amp;gt;} if([Days Taken] &amp;lt; 30,1,0)), instead it returns all of the References for a Reviewer.&lt;/P&gt;&lt;P&gt;For AF it should be a total of 21 references which took less than 30 days - &amp;lt; 30 days taken.&lt;/P&gt;&lt;P&gt;25 is the total, which it is returning instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, I want the to ignore the Reviewer selected in the filter, so that is shows all Reviewers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a sample .qvf to see how I'm calculating this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;Any tips would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2016 08:43:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-04T08:43:40Z</dc:date>
    <item>
      <title>Set analysis - excluded issue</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-excluded-issue/m-p/1044874#M16376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm fairly new to set analysis.&lt;/P&gt;&lt;P&gt;I am trying to calculate all references where it took less than 30 days, ignoring the selection in the filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an expression using set analysis but it doesn't return the correct values. ie.&lt;/P&gt;&lt;P&gt;COUNT({$&amp;lt;Reviewer=&amp;gt;} if([Days Taken] &amp;lt; 30,1,0)), instead it returns all of the References for a Reviewer.&lt;/P&gt;&lt;P&gt;For AF it should be a total of 21 references which took less than 30 days - &amp;lt; 30 days taken.&lt;/P&gt;&lt;P&gt;25 is the total, which it is returning instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, I want the to ignore the Reviewer selected in the filter, so that is shows all Reviewers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a sample .qvf to see how I'm calculating this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;Any tips would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 08:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-excluded-issue/m-p/1044874#M16376</guid>
      <dc:creator />
      <dc:date>2016-04-04T08:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis - excluded issue</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-excluded-issue/m-p/1044875#M16377</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;Use this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;Reviewer = , [Days Taken] = {"&amp;lt;30"}&amp;gt;} Reference)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 12:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-excluded-issue/m-p/1044875#M16377</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-04-04T12:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis - excluded issue</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-excluded-issue/m-p/1044876#M16378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I prefer &lt;A _jive_internal="true" href="https://community.qlik.com/people/Kaushik.solanki"&gt;Kaushik Solanki&lt;/A&gt;‌ solution, but if you want to stick with if condition, you need a Sum, instead of count:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;Reviewer=&amp;gt;} if([Days Taken] &amp;lt; 30,1,0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Because Count of 0 and 1 are end up being the total. or you can try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({$&amp;lt;Reviewer=&amp;gt;} if([Days Taken] &amp;lt; 30,1))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 13:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-excluded-issue/m-p/1044876#M16378</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-04T13:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis - excluded issue</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-excluded-issue/m-p/1044877#M16379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk dis&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4424"&gt;Excluding values in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 05:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-excluded-issue/m-p/1044877#M16379</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-04-05T05:58:06Z</dc:date>
    </item>
  </channel>
</rss>

