<?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: Re: Using Boolean Identifiers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Boolean-Identifiers/m-p/711560#M1069440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi Kevin,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Please can you close this thread and mark Rob's post as correct answer. It will help other community users.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Sep 2014 08:00:16 GMT</pubDate>
    <dc:creator>IAMDV</dc:creator>
    <dc:date>2014-09-05T08:00:16Z</dc:date>
    <item>
      <title>Using Boolean Identifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Boolean-Identifiers/m-p/711557#M1069437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a current table there is a field called [ReferencesQuestion] which is an integer field and can contain binary sequential values between 1 and 4096, there are other data associated with it.&amp;nbsp; I have another table with a set of categories (A-P) which defines which questions are relevant to which categories but it does this through binary comparison also using integers.&amp;nbsp; (e.g.&amp;nbsp; Questions 1 and 4 are relevant to Category A, Questions 1,4 and 32 are relevant to Category B). &lt;IMG alt="QC.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65351_QC.jpg" style="float: right;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL I can write a boolean query which Selects records if&amp;nbsp; [ReferencesQuestion] &amp;amp; [CategoryInteger] = [ReferencesQuestion].&amp;nbsp; How do I do this in Qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Tables...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 15:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Boolean-Identifiers/m-p/711557#M1069437</guid>
      <dc:creator />
      <dc:date>2014-09-04T15:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using Boolean Identifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Boolean-Identifiers/m-p/711558#M1069438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not quite following the mapping you gave in your example. But QV does have a number of bit operators as well as a bitcount() function. See "Bit Operators" in the Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"bitand" is the equivalent operator to SQL &amp;amp;. So something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[ReferencesQuestion]&amp;nbsp; bitand&amp;nbsp; [CategoryInteger]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 23:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Boolean-Identifiers/m-p/711558#M1069438</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-09-04T23:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using Boolean Identifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Boolean-Identifiers/m-p/711559#M1069439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp; bitand is exactly what I was looking for, I've implemented it in the code and it's perfect.&amp;nbsp; I only get the list of questions relevant to a Category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ReferencesQuestion] bitand [CategoryInteger] = [CategoryInteger]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 07:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Boolean-Identifiers/m-p/711559#M1069439</guid>
      <dc:creator />
      <dc:date>2014-09-05T07:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Using Boolean Identifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Boolean-Identifiers/m-p/711560#M1069440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi Kevin,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Please can you close this thread and mark Rob's post as correct answer. It will help other community users.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 08:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Boolean-Identifiers/m-p/711560#M1069440</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2014-09-05T08:00:16Z</dc:date>
    </item>
  </channel>
</rss>

