<?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: Help with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872448#M1004943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data model is complex and I do not want to disturb it. Is there a way we can settle this in front end using set analysis expresisons?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2015 18:16:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-15T18:16:21Z</dc:date>
    <item>
      <title>Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872443#M1004938</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 have a data set as shown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Participant&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Answer&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;N/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;N/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;N/A&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A participant get to answer either yes, no or N/a for Questions 1 and 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to find the percentage of responses who answered yes to question 1 and question 2 among total responses. N/A should not be considered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answer = ( count of responses who answered yes to question 1 and question 2) / ( count of responses to question 1 which was yes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In above example , 3 participants answered yes to question 1 and there was one yes and one no to question 2 ( don't count N/A)&lt;/P&gt;&lt;P&gt;therefore- answer = 50% or (1/2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Numerator = count({ &amp;lt;Question={1} , Answer={Yes}, Question={2},Answer={Yes}&amp;gt; }&amp;nbsp;&amp;nbsp; Participant) &amp;lt;-- not working&lt;/P&gt;&lt;P&gt;Denominator= count({&amp;lt;Question={1},Answer={'Yes'},Question={2} ,match(Answer,'Yes','No') &amp;gt; } Participant)&amp;nbsp; -&amp;lt; not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on how I need to form set analysis expression for Numerator and denomitator?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 17:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872443#M1004938</guid>
      <dc:creator />
      <dc:date>2015-05-15T17:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872444#M1004939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;Answer={'Yes'}&amp;gt;} Participants)/Count({&amp;lt;Answer={'Yes','No'}&amp;gt;} Participants)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to test . try Num and Den individually and see what results you get&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872444#M1004939</guid>
      <dc:creator />
      <dc:date>2015-05-15T18:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872445#M1004940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;below will give you in total number of Yes answers as percentage of total yes and no &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0433ff;"&gt;&lt;SPAN style="color: #0433ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #941100;"&gt;Answer&lt;/SPAN&gt;={'Yes'}&amp;gt;}&lt;SPAN style="color: #941100;"&gt;Participant&lt;/SPAN&gt;)/&lt;SPAN style="color: #0433ff;"&gt;count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #941100;"&gt;Answer&lt;/SPAN&gt;={'Yes','No'}&amp;gt;}&lt;SPAN style="color: #941100;"&gt;Participant&lt;/SPAN&gt;),'###.##%') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872445#M1004940</guid>
      <dc:creator />
      <dc:date>2015-05-15T18:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872446#M1004941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added flags to the script to make it easy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Answer = 'Yes', 1, If(Answer = 'No', 0)) as Flag;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Participant, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Question, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="164234" data-objecttype="1" href="https://community.qlik.com/thread/164234"&gt;https://community.qlik.com/thread/164234&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Numerator: &lt;STRONG&gt;=Sum(If(Aggr(Sum(Flag), Participant) = 2, 1, 0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Denominator: &lt;STRONG&gt;=Sum(If(Aggr(Count(Flag), Participant) = 2, 1, 0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching the qvw for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872446#M1004941</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T18:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872447#M1004942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is just an example and there are several questions in real. This particular expression needs to consider only responses for question A and B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872447#M1004942</guid>
      <dc:creator />
      <dc:date>2015-05-15T18:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872448#M1004943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data model is complex and I do not want to disturb it. Is there a way we can settle this in front end using set analysis expresisons?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872448#M1004943</guid>
      <dc:creator />
      <dc:date>2015-05-15T18:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872449#M1004944</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;This is just an example and there are several questions in real. This particular expression needs to consider only responses for question A and B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872449#M1004944</guid>
      <dc:creator />
      <dc:date>2015-05-15T18:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872450#M1004945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sure there must be a way to do it in the front end (just haven't figured it out yet), but we are not making too many changes here. You are just adding this on top of your one table. I doubt this is going to break anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(Answer = 'Yes', 1, If(Answer = 'No', 0)) as Flag;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will check if I can find an alternative as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872450#M1004945</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T18:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872451#M1004946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny. I have made the changes in the load statement. Can you help me form the expresison using Questions A and B alone? As I mentioned earier to another post, this is just an example and there can be multiple questions. I want to filter based on Questions A and B alone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872451#M1004946</guid>
      <dc:creator />
      <dc:date>2015-05-15T18:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872452#M1004947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand it should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(if(concat(Answer, '', Question)='YesYes',1), Participant))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum(aggr(if(match(concat(Answer, '', Question),'YesNo','YesYes'),1), Participant))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86733_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872452#M1004947</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-05-15T18:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872453#M1004948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Numerator: &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Sum(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;{&amp;lt;Question = {'A', 'B'}&amp;gt;} &lt;/STRONG&gt;If(Aggr(Sum({&amp;lt;Question = {'A', 'B'}&amp;gt;}Flag), Participant) = 2, 1, 0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Denominator: &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Sum(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;{&amp;lt;Question = {'A', 'B'}&amp;gt;} &lt;/STRONG&gt;If(Aggr(Count(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;{&amp;lt;Question = {'A', 'B'}&amp;gt;}&lt;/STRONG&gt;Flag), Participant) = 2, 1, 0))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872453#M1004948</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T18:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872454#M1004949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this for just A and B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;Question = {'A', 'B'}&amp;gt;}&lt;/STRONG&gt;&lt;/STRONG&gt;aggr(if(concat(&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;Question = {'A', 'B'}&amp;gt;}&lt;/STRONG&gt;&lt;/STRONG&gt;Answer, '', Question)='YesYes',1), Participant))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;Question = {'A', 'B'}&amp;gt;}&lt;/STRONG&gt;&lt;/STRONG&gt;aggr(if(match(concat(&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;Question = {'A', 'B'}&amp;gt;}&lt;/STRONG&gt;&lt;/STRONG&gt;Answer, '', Question),'YesNo','YesYes'),1), Participant))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I still feel that Flags are better, don't you think so &lt;A _jive_internal="true" href="https://community.qlik.com/people/maxgro"&gt;Massimo&lt;/A&gt;‌?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872454#M1004949</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T18:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872455#M1004950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried both the expressions and still not getting the right answer. Can you please send the qlikview file once again if you can? I agree the flags are better as well. I still am unable to get the expresison right&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872455#M1004950</guid>
      <dc:creator />
      <dc:date>2015-05-15T18:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872456#M1004951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad Questions are 1 and 2. It is the participants that are A and B,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Numerator: &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Sum(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;Participant&lt;/STRONG&gt;= {'A', 'B'}&amp;gt;} &lt;/STRONG&gt;If(Aggr(Sum({&amp;lt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;Participant&lt;/STRONG&gt;= {'A', 'B'}&amp;gt;}Flag), Participant) = 2, 1, 0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Denominator: &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Sum(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;Participant&lt;/STRONG&gt;= {'A', 'B'}&amp;gt;} &lt;/STRONG&gt;If(Aggr(Count(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;Participant&lt;/STRONG&gt;= {'A', 'B'}&amp;gt;}&lt;/STRONG&gt;Flag), Participant) = 2, 1, 0))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872456#M1004951</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T18:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872457#M1004952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this from &lt;A _jive_internal="true" href="https://community.qlik.com/people/maxgro"&gt;Massimo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Participant&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;= {'A', 'B'}&amp;gt;}&lt;/STRONG&gt;aggr(if(concat(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Participant&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;= {'A', 'B'}&amp;gt;}&lt;/STRONG&gt;Answer, '', Question)='YesYes',1), Participant))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Participant&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;= {'A', 'B'}&amp;gt;}&lt;/STRONG&gt;aggr(if(match(concat(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Participant&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;= {'A', 'B'}&amp;gt;}&lt;/STRONG&gt;Answer, '', Question),'YesNo','YesYes'),1), Participant))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872457#M1004952</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T18:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872458#M1004953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching the app with new formulas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872458#M1004953</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T18:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872459#M1004954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like I made a mistake when I earlier mentioned questions A and B instead of 1 and 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to consider all participants but just questions 1 and 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your effort&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Numerator: &lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;=Sum(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;{&amp;lt;Question = {'A', 'B'}&amp;gt;} &lt;/STRONG&gt;If(Aggr(Sum({&amp;lt;Question = {'A', 'B'}&amp;gt;}Flag), Participant) = 2, 1, 0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Denominator: &lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;=Sum(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;{&amp;lt;Question = {'A', 'B'}&amp;gt;} &lt;/STRONG&gt;If(Aggr(Count(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;{&amp;lt;Question = {'A', 'B'}&amp;gt;}&lt;/STRONG&gt;Flag), Participant) = 2, 1, 0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This is what I used. The numerator seems fine but the denominator is having issues&lt;/P&gt;&lt;P&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 20:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872459#M1004954</guid>
      <dc:creator />
      <dc:date>2015-05-15T20:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872460#M1004955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Replace A and B with 1 and 2 and see if that resolves all your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 20:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872460#M1004955</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T20:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872461#M1004956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Maybe&amp;nbsp; like&amp;nbsp; this?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="86737" alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86737_1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 21:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872461#M1004956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-15T21:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872462#M1004957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here the .qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(if(concat(Answer, '', Question)='YesYes',1), Participant))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum(aggr(if(match(concat(Answer, '', Question),'YesNo','YesYes'),1), Participant))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 21:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-set-analysis/m-p/872462#M1004957</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-05-15T21:24:51Z</dc:date>
    </item>
  </channel>
</rss>

