<?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: Expression not working on different server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632547#M542625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;64-bit resonates with the Len()=0 test. Try it in script as well as Erich suggests, it has to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried in 32-bit and 64-bit environments and both times worked in desktop and server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 May 2014 13:39:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-29T13:39:06Z</dc:date>
    <item>
      <title>Expression not working on different server</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632543#M542621</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;I have written the following expression in a text_object: =count(if(closedate = null() and priority = 'Priority 1', priority))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On my computer which is a Windows XP machine (32-bit) the code is working fine and pulling through a value of 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I transfer this over to the Qlik Server which is a Windows 2008 (64-bit), the same expression is pulling through a value of 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set the ODBC drivers to force 32-bit and reloaded but this makes no difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following Qlik Versions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Computer:&amp;nbsp; Qlikview 11.20.12235.0 SR5&lt;/P&gt;&lt;P&gt;Qlik Server:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Qlikview 11.20.12235.0 SR5 64-Bit Edition (x64)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would someone be able to help me on this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon Ditchfield&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 13:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632543#M542621</guid>
      <dc:creator />
      <dc:date>2014-05-29T13:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working on different server</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632544#M542622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try Len(Trim(closedate)) = 0 install for closedate = null()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had issues in past where null() or IsNull() has not worked as expected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 13:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632544#M542622</guid>
      <dc:creator />
      <dc:date>2014-05-29T13:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working on different server</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632545#M542623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You can try isnull(closedate) and priority = 'Priority 1' in your text box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also create a flag on your script and change this expression to use set analysis. You will probably experience a better performance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script, you can create something like this: &lt;/P&gt;&lt;P&gt;Load ... &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( isnull(closedate), 1, 0 ) as null_closedate,&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, you expression will become: &lt;/P&gt;&lt;P&gt;count (&amp;nbsp; {&amp;lt;null_closedate={1}, priority={'Priority 1'}&amp;gt;&amp;nbsp; priority}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, &lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 13:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632545#M542623</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2014-05-29T13:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working on different server</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632546#M542624</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;Unfortuately this didn't work.&amp;nbsp; It is working fine if I access my document from my pc, its when I access the document from the server is when the data doesn't come through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 13:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632546#M542624</guid>
      <dc:creator />
      <dc:date>2014-05-29T13:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working on different server</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632547#M542625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;64-bit resonates with the Len()=0 test. Try it in script as well as Erich suggests, it has to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried in 32-bit and 64-bit environments and both times worked in desktop and server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 13:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632547#M542625</guid>
      <dc:creator />
      <dc:date>2014-05-29T13:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not working on different server</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632548#M542626</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 might be a bug of this specific version (11.20.12235.0 SR5). When you try to get the server to calculate “Count(Null())”, A lot of things can go wrong! Try to avoid this calculation,then they will go back to normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that may help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2018 02:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-working-on-different-server/m-p/632548#M542626</guid>
      <dc:creator>thomas_wang</dc:creator>
      <dc:date>2018-07-12T02:35:32Z</dc:date>
    </item>
  </channel>
</rss>

