<?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 Question: count only those respondent who pick different answer alternatives but still grouped by question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Question-count-only-those-respondent-who-pick-different-answer/m-p/967628#M13897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlik Sense&lt;/P&gt;&lt;P&gt;There is no problem in displaying and counting respondents who answered on alternatives from question1 AND question2. &lt;/P&gt;&lt;P&gt;Issue comes when we want to see respondents from more than one alternative per question.&lt;/P&gt;&lt;P&gt;With logic: count respondents who answered similarly on ((Q1_a OR Q1_b) AND Q2_a)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here comes data model.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DataModel.PNG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/100477_DataModel.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following example I choice two respondents in alternative Q2_a (resp 101 and 102 displays). &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Q2_a.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100467_Q2_a.PNG" style="height: 177px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;When looking on one of alternatives in Q1, (Q1_a) the result count only one respondent (101) existing in both choice-alternatives.&lt;/P&gt;&lt;P&gt; &lt;IMG alt="Q1_a_AND_Q2_a.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/100468_Q1_a_AND_Q2_a.PNG" style="height: 171px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The same goes for combination of (Q1_b) where respondent (102) exists along with (Q2_a).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Q1_b_AND_Q2_a.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/100475_Q1_b_AND_Q2_a.PNG" style="height: 165px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Adding alternative (Q1_a) which contains (101) respondent to the choice should give two respondents in calculation. One respondent coming from Q1_a and Q1_b each and two of same existing in Q2_a.&lt;/P&gt;&lt;P&gt;Result displays zero respondents. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Q1_a_OR_Q1_b_AND_Q2_a.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/100476_Q1_a_OR_Q1_b_AND_Q2_a.PNG" style="height: 162px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic I need is counting/showing respondents existing in Q1 AND Q2, plus alternatives Q1_a OR Q1_b compared against Q2.&lt;/P&gt;&lt;P&gt;I can also accept changes in the data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the long post.&lt;/P&gt;&lt;P&gt;Best regards, Mariia.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Dec 2021 15:42:54 GMT</pubDate>
    <dc:creator>mariia_gridneva</dc:creator>
    <dc:date>2021-12-22T15:42:54Z</dc:date>
    <item>
      <title>Question: count only those respondent who pick different answer alternatives but still grouped by question</title>
      <link>https://community.qlik.com/t5/App-Development/Question-count-only-those-respondent-who-pick-different-answer/m-p/967628#M13897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlik Sense&lt;/P&gt;&lt;P&gt;There is no problem in displaying and counting respondents who answered on alternatives from question1 AND question2. &lt;/P&gt;&lt;P&gt;Issue comes when we want to see respondents from more than one alternative per question.&lt;/P&gt;&lt;P&gt;With logic: count respondents who answered similarly on ((Q1_a OR Q1_b) AND Q2_a)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here comes data model.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DataModel.PNG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/100477_DataModel.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following example I choice two respondents in alternative Q2_a (resp 101 and 102 displays). &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Q2_a.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100467_Q2_a.PNG" style="height: 177px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;When looking on one of alternatives in Q1, (Q1_a) the result count only one respondent (101) existing in both choice-alternatives.&lt;/P&gt;&lt;P&gt; &lt;IMG alt="Q1_a_AND_Q2_a.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/100468_Q1_a_AND_Q2_a.PNG" style="height: 171px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The same goes for combination of (Q1_b) where respondent (102) exists along with (Q2_a).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Q1_b_AND_Q2_a.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/100475_Q1_b_AND_Q2_a.PNG" style="height: 165px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Adding alternative (Q1_a) which contains (101) respondent to the choice should give two respondents in calculation. One respondent coming from Q1_a and Q1_b each and two of same existing in Q2_a.&lt;/P&gt;&lt;P&gt;Result displays zero respondents. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Q1_a_OR_Q1_b_AND_Q2_a.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/100476_Q1_a_OR_Q1_b_AND_Q2_a.PNG" style="height: 162px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic I need is counting/showing respondents existing in Q1 AND Q2, plus alternatives Q1_a OR Q1_b compared against Q2.&lt;/P&gt;&lt;P&gt;I can also accept changes in the data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the long post.&lt;/P&gt;&lt;P&gt;Best regards, Mariia.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2021 15:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Question-count-only-those-respondent-who-pick-different-answer/m-p/967628#M13897</guid>
      <dc:creator>mariia_gridneva</dc:creator>
      <dc:date>2021-12-22T15:42:54Z</dc:date>
    </item>
  </channel>
</rss>

