<?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: Function &amp;quot;bitand&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/1815441#M1212983</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6072"&gt;@frank_carlsson&lt;/a&gt;&amp;nbsp;. i was struggling since a week to use BITAND expression of oracle in Qlik.&lt;/P&gt;&lt;P&gt;Thanks a ton for detailed code &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 10:29:25 GMT</pubDate>
    <dc:creator>rupalimane1390</dc:creator>
    <dc:date>2021-06-16T10:29:25Z</dc:date>
    <item>
      <title>Function "bitand"</title>
      <link>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/229588#M81481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anybody already use the function "bitand" successfully? The manual unfortunately doesn't contain an example for its usage .&lt;/P&gt;&lt;P&gt;I tried to use it this way: bitand(integer,integer). During execution of the script I get the following error:&lt;/P&gt;&lt;P style="font-style: italic"&gt;Error in expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;BITAND is not a valid function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt; &lt;I&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 13:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/229588#M81481</guid>
      <dc:creator />
      <dc:date>2010-10-06T13:46:57Z</dc:date>
    </item>
    <item>
      <title>SV:Function "bitand"</title>
      <link>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/229589#M81482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used it like this:&lt;/P&gt;&lt;P style="font-style: italic"&gt;Prodtr_lev:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Load&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AcYrPr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;as&lt;/B&gt; Avstämmningsperiod &lt;P&gt;,&lt;/P&gt;&lt;P&gt;Replace&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(trim(upper(InvoRef)),' ','') &lt;B&gt;as&lt;/B&gt; InvoRef &lt;P&gt;,&lt;/P&gt;&lt;P&gt;DAm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;as&lt;/B&gt; DAm &lt;P&gt;,&lt;/P&gt;&lt;P&gt;OrdNo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;SupNo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&g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: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;SELECT&lt;/B&gt; * &lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;FROM&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;I&gt;$(Company)&lt;/I&gt;&lt;/B&gt; &lt;P&gt;.dbo.ProdTr&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;TrTp = 6 and FinDt &amp;gt;= 20100501 and (SupNo &amp;lt;&amp;gt; 0 or SupNo = 1001); &lt;P&gt;&lt;B&gt;//and OrdNo &amp;lt;&amp;gt; 1;// and Ctrl = 0;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;Temp:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Noconcatenate&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Load&lt;/B&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(16384 Bitand Bitvalue2 = 16384,1,0) &lt;B&gt;as&lt;/B&gt; Bv2 &lt;P&gt;,&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(16 Bitand Transstatus = 16,1,0) &lt;B&gt;as&lt;/B&gt; &lt;P&gt;Trst&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Resident&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prodtr_lev;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in Where clause:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;WHERE&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;OrdNo &amp;gt; 35600 &lt;B&gt;AND&lt;/B&gt; TrTp = 1 &lt;B&gt;AND&lt;/B&gt; applymap('mOrdTp',OrdNo) &amp;lt;= 4 &lt;B&gt;And&lt;/B&gt; OrdLnSt bitand 8 = false() ;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 13:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/229589#M81482</guid>
      <dc:creator>frank_carlsson</dc:creator>
      <dc:date>2010-10-06T13:59:30Z</dc:date>
    </item>
    <item>
      <title>SV:Function "bitand"</title>
      <link>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/229590#M81483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, that looked really awful... hope you can read my example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 14:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/229590#M81483</guid>
      <dc:creator>frank_carlsson</dc:creator>
      <dc:date>2010-10-06T14:00:14Z</dc:date>
    </item>
    <item>
      <title>SV:Function "bitand"</title>
      <link>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/229591#M81484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks! It works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 14:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/229591#M81484</guid>
      <dc:creator />
      <dc:date>2010-10-06T14:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: SV:Function "bitand"</title>
      <link>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/229592#M81485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks dude! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 13:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/229592#M81485</guid>
      <dc:creator>alexmosq</dc:creator>
      <dc:date>2013-03-01T13:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Function "bitand"</title>
      <link>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/1815441#M1212983</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6072"&gt;@frank_carlsson&lt;/a&gt;&amp;nbsp;. i was struggling since a week to use BITAND expression of oracle in Qlik.&lt;/P&gt;&lt;P&gt;Thanks a ton for detailed code &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 10:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-quot-bitand-quot/m-p/1815441#M1212983</guid>
      <dc:creator>rupalimane1390</dc:creator>
      <dc:date>2021-06-16T10:29:25Z</dc:date>
    </item>
  </channel>
</rss>

