<?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 Intersection between 2 values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1702860#M451317</link>
    <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I have the below dataset:&lt;/P&gt;&lt;P&gt;Student ID, Semester&lt;/P&gt;&lt;P&gt;1, A&lt;BR /&gt;2, A&lt;BR /&gt;2, B&lt;BR /&gt;3, B&lt;/P&gt;&lt;P&gt;I am using the below expression to give me the count of the common items which should be 1 since only student 2 attened semester A &amp;amp; B. But it is giving me 4. Can someone help please?&lt;/P&gt;&lt;P&gt;=Count(&lt;/P&gt;&lt;P&gt;{1&amp;lt;Semester=,[Academic Year]=,SemesterNO={'$(=max(SemesterNO))'}&amp;gt; +&lt;BR /&gt;1&amp;lt;Semester=,[Academic Year]=,SemesterNO={'$(=max(SemesterNO)+100)'}&amp;gt;}&lt;BR /&gt;DISTINCT Enrolment.EMPLID)&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:39:40 GMT</pubDate>
    <dc:creator>Edge</dc:creator>
    <dc:date>2024-11-16T00:39:40Z</dc:date>
    <item>
      <title>Intersection between 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1702860#M451317</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I have the below dataset:&lt;/P&gt;&lt;P&gt;Student ID, Semester&lt;/P&gt;&lt;P&gt;1, A&lt;BR /&gt;2, A&lt;BR /&gt;2, B&lt;BR /&gt;3, B&lt;/P&gt;&lt;P&gt;I am using the below expression to give me the count of the common items which should be 1 since only student 2 attened semester A &amp;amp; B. But it is giving me 4. Can someone help please?&lt;/P&gt;&lt;P&gt;=Count(&lt;/P&gt;&lt;P&gt;{1&amp;lt;Semester=,[Academic Year]=,SemesterNO={'$(=max(SemesterNO))'}&amp;gt; +&lt;BR /&gt;1&amp;lt;Semester=,[Academic Year]=,SemesterNO={'$(=max(SemesterNO)+100)'}&amp;gt;}&lt;BR /&gt;DISTINCT Enrolment.EMPLID)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1702860#M451317</guid>
      <dc:creator>Edge</dc:creator>
      <dc:date>2024-11-16T00:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection between 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1702861#M451318</link>
      <description>&lt;P&gt;You seem to be using the '+' operator, which is union, rather than the '*' modifier for intersect.&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 13:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1702861#M451318</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2020-05-17T13:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection between 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1702862#M451319</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/60006"&gt;@Edge&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you share a sample data&lt;/P&gt;&lt;P&gt;SemesterNO ? Academic Year ? Semester ?&lt;/P&gt;&lt;P&gt;what is the expected output ? from this output :&lt;/P&gt;&lt;P&gt;Student ID, Semester&lt;/P&gt;&lt;P&gt;1, A&lt;BR /&gt;2, A&lt;BR /&gt;2, B&lt;BR /&gt;3, B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 13:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1702862#M451319</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-05-17T13:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection between 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1702895#M451321</link>
      <description>&lt;P&gt;To get the value:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Only({&amp;lt;[Student ID]=p({&amp;lt;Semester={'A'}&amp;gt;})*p({&amp;lt;Semester={'B'}&amp;gt;})&amp;gt;}[Student ID])&lt;/LI-CODE&gt;&lt;P&gt;To get the count:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count(DISTINCT {&amp;lt;[Student ID]=p({&amp;lt;Semester={'A'}&amp;gt;})*p({&amp;lt;Semester={'B'}&amp;gt;})&amp;gt;}[Student ID])&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 17 May 2020 18:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1702895#M451321</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-17T18:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection between 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1702896#M451322</link>
      <description>&lt;P&gt;One more solution.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count(DISTINCT{&amp;lt;[Student ID]={"=Concat(DISTINCT Semester)='AB'"}&amp;gt;}[Student ID])&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 17 May 2020 19:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1702896#M451322</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-17T19:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection between 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1703322#M451330</link>
      <description>&lt;P&gt;Thanks to all who responded and provided solutions :). Really appreciate the amazing qlik community.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 07:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-between-2-values/m-p/1703322#M451330</guid>
      <dc:creator>Edge</dc:creator>
      <dc:date>2020-05-19T07:18:20Z</dc:date>
    </item>
  </channel>
</rss>

