<?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: IsNull() AND IsNull() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IsNull-AND-IsNull/m-p/1586346#M739076</link>
    <description>&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;I'm thinking 'Which filter does he mean'. Do you mean a conditional Expression?&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 17:20:25 GMT</pubDate>
    <dc:creator>mikevbreugel</dc:creator>
    <dc:date>2019-05-29T17:20:25Z</dc:date>
    <item>
      <title>IsNull() AND IsNull()</title>
      <link>https://community.qlik.com/t5/QlikView/IsNull-AND-IsNull/m-p/1585806#M739072</link>
      <description>&lt;P&gt;Hello Qlik Community,&lt;/P&gt;&lt;P&gt;I've made a Pivot Table that contains 2 start dates and 2 end dates. 1 start and end date for the placement of a person at a company and 1 start and end date for the contracts that are in the placement. There can be more contracts in 1 placement. These are of course dimensions. The expression sums the booked working hours and shows them on a weekly basis and it shows a specific year. Lets say for our example it's 2019.&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Person ID&lt;/TD&gt;&lt;TD&gt;Start Placement&lt;/TD&gt;&lt;TD&gt;End Placement&lt;/TD&gt;&lt;TD&gt;Start Contract&lt;/TD&gt;&lt;TD&gt;End Contract&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1-1-2016&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;1-1-2016&lt;/TD&gt;&lt;TD&gt;7-1-2019&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1-1-2016&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;7-1-2019&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1-1-2018&lt;/TD&gt;&lt;TD&gt;14-1-2019&lt;/TD&gt;&lt;TD&gt;1-1-2018&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;24&lt;/TD&gt;&lt;TD&gt;24&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to calculate how many hours I expect to be booked per row to find the differences between the calculated hours and the booked hours. For that I need to make a new Start date and a new End date. Sometimes it needs to be the End date of the placement and sometimes it's the End date of the contract, but it is also possible that both placement and contract end date are NULL.&lt;/P&gt;&lt;P&gt;The problem that I encountered is when I make a calculated dimension to make a new end date is that when both values are NULL it doesn't return a value at all.&lt;/P&gt;&lt;P&gt;=IF(IsNull(EndDatePlacement) AND IsNull(EndDateContract),Today(),'')&lt;/P&gt;&lt;P&gt;I know I need to do more than just the above calculation to get where I need to be concerning my question and problem, but first I need to fix this problem.&lt;/P&gt;&lt;P&gt;I tried them both without the other EndDate (no AND) and it finds both the values when they are NULL. Just not when I try it with a AND statement. Also tried the Len()=0 method but it didn't work as well.&lt;/P&gt;&lt;P&gt;Is there someone that can help me with this problem.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IsNull-AND-IsNull/m-p/1585806#M739072</guid>
      <dc:creator>mikevbreugel</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: IsNull() AND IsNull()</title>
      <link>https://community.qlik.com/t5/QlikView/IsNull-AND-IsNull/m-p/1586155#M739073</link>
      <description>&lt;P&gt;What it is returning when you use This condition as Filter?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 13:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IsNull-AND-IsNull/m-p/1586155#M739073</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-05-29T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: IsNull() AND IsNull()</title>
      <link>https://community.qlik.com/t5/QlikView/IsNull-AND-IsNull/m-p/1586164#M739074</link>
      <description>hey,&lt;BR /&gt;this calculated dimensions works for me&lt;BR /&gt;=IF(len(trim(End_Contract))=0 AND len(trim(End_Placement))=0,Today(),'')&lt;BR /&gt;</description>
      <pubDate>Wed, 29 May 2019 13:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IsNull-AND-IsNull/m-p/1586164#M739074</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2019-05-29T13:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: IsNull() AND IsNull()</title>
      <link>https://community.qlik.com/t5/QlikView/IsNull-AND-IsNull/m-p/1586337#M739075</link>
      <description>&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I've tried this because I didn't try it with Trim, but it does the same and gives me no value (-). When I try only one or the other without the AND statement IF(Len(Trim(Contract)=0,Today(),''), than it does return the date.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 16:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IsNull-AND-IsNull/m-p/1586337#M739075</guid>
      <dc:creator>mikevbreugel</dc:creator>
      <dc:date>2019-05-29T16:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: IsNull() AND IsNull()</title>
      <link>https://community.qlik.com/t5/QlikView/IsNull-AND-IsNull/m-p/1586346#M739076</link>
      <description>&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;I'm thinking 'Which filter does he mean'. Do you mean a conditional Expression?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 17:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IsNull-AND-IsNull/m-p/1586346#M739076</guid>
      <dc:creator>mikevbreugel</dc:creator>
      <dc:date>2019-05-29T17:20:25Z</dc:date>
    </item>
  </channel>
</rss>

