<?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 If statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statement/m-p/1399909#M804789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to give 2 conditions in a single IF Statement. Below is the query that I have used in my script, but I'm not getting the desired result that I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Report Due Date]&amp;gt;Date([End Date]+12) and&amp;nbsp; IsNull([Target Group Conversion / Converted Customers]),'Not updated','Updated') as [Report Status],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone of you have a look at it and let me know the correct query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically what I wanted to know is if [Report Due date] has crossed the [End date] by 12 days and if the [Target group conversion/Converted Customers] column is null then I need the [Report Status] column be shown as 'Not updated'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sidhiq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>sidhiq91</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>If statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement/m-p/1399909#M804789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to give 2 conditions in a single IF Statement. Below is the query that I have used in my script, but I'm not getting the desired result that I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Report Due Date]&amp;gt;Date([End Date]+12) and&amp;nbsp; IsNull([Target Group Conversion / Converted Customers]),'Not updated','Updated') as [Report Status],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone of you have a look at it and let me know the correct query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically what I wanted to know is if [Report Due date] has crossed the [End date] by 12 days and if the [Target group conversion/Converted Customers] column is null then I need the [Report Status] column be shown as 'Not updated'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sidhiq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement/m-p/1399909#M804789</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: If statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement/m-p/1399910#M804790</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 would approach like this&lt;/P&gt;&lt;P&gt;If(NUM([Report Due Date]) &amp;gt; NUM([End Date]+12) AND LEN(TRIM(([Target Group Conversion / Converted Customers])))=0,'Not updated','Updated') as [Report Status],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Numbers are easier to work with than dates and checking the length of a field is normally more successful that isNULL, as account so spaces in the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 15:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement/m-p/1399910#M804790</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2017-11-02T15:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: If statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement/m-p/1399911#M804792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton. Its working fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sidhiq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 05:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement/m-p/1399911#M804792</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2017-11-03T05:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: If statement</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement/m-p/1399912#M804793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;If you got the answers , mark the correct answer and close this thread &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 05:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement/m-p/1399912#M804793</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-11-03T05:46:33Z</dc:date>
    </item>
  </channel>
</rss>

