<?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: Display  a string when two fields are null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/61001#M10185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Listbox filter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2018 06:06:00 GMT</pubDate>
    <dc:creator>tamilarasu</dc:creator>
    <dc:date>2018-04-19T06:06:00Z</dc:date>
    <item>
      <title>Display  a string when two fields are null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/60996#M10180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks ...&lt;/P&gt;&lt;P&gt;Here I want to show In a chart the status based on two fields all the status able to show with the below expression but when two fields they are Null I would like to show as 'Abscent' &lt;/P&gt;&lt;P&gt;here in my case this is showing as third scenario as 'OnSite'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one correct the syntax when both the fields they are null show as 'Abscent'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(column(1)&amp;lt;column(2),'ProperEntry',&lt;/P&gt;&lt;P&gt;if(column(1)&amp;gt;column(2),'RemoteEntry',&lt;/P&gt;&lt;P&gt;if(IsNull(column(1)),'OnSite',&lt;/P&gt;&lt;P&gt;if(IsNull(column(2)),'Missing',&lt;/P&gt;&lt;P&gt;if(IsNull(column(1) and column(2)) ,'Abscent'&lt;/P&gt;&lt;P&gt;//if(IsNull(column(1)) and IsNull(column(2)) ,'Abscent'&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;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kishore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 05:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/60996#M10180</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-04-19T05:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Display  a string when two fields are null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/60997#M10181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SaiKishore,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(column(1)&amp;lt;column(2),'ProperEntry',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(column(1)&amp;gt;column(2),'RemoteEntry',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000;"&gt;if(IsNull(column(1)) and IsNull(column(2)) ,'Abscent',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(IsNull(column(1)),'OnSite',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(IsNull(column(2)),'Missing'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 05:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/60997#M10181</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-04-19T05:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Display  a string when two fields are null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/60998#M10182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot this worked.&lt;/P&gt;&lt;P&gt;But the same i entered in the post with line commented &lt;/P&gt;&lt;P&gt;Where I went wrong &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; font-size: 13px;"&gt;//if(IsNull(column(1)) and IsNull(column(2)) ,'Abscent'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 05:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/60998#M10182</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-04-19T05:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Display  a string when two fields are null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/60999#M10183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we provide a filter for all the Status displayed &lt;/P&gt;&lt;P&gt;Inorder to filter Each status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;ProperEntry&lt;/LI&gt;&lt;LI&gt;RemoteEntry&lt;/LI&gt;&lt;LI&gt;OnSite&lt;/LI&gt;&lt;LI&gt;Missing&lt;/LI&gt;&lt;LI&gt;Abscent&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 05:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/60999#M10183</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-04-19T05:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Display  a string when two fields are null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/61000#M10184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(column(1)&amp;lt;column(2),'ProperEntry',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(column(1)&amp;gt;column(2),'RemoteEntry',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;if(IsNull(column(1)),'OnSite'&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(IsNull(column(2)),'Missing',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(IsNull(column(1) and column(2)) ,'Abscent'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//if(IsNull(column(1)) and IsNull(column(2)) ,'Abscent'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The reason is the third condition is true in your if condition, so the next if conditions will not be considered. It is checking only the column(1) and it is null so it is returning "OnSite" and else part not considered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 05:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/61000#M10184</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-04-19T05:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Display  a string when two fields are null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/61001#M10185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Listbox filter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 06:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/61001#M10185</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-04-19T06:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Display  a string when two fields are null</title>
      <link>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/61002#M10186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Tamil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 09:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-a-string-when-two-fields-are-null/m-p/61002#M10186</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-04-19T09:51:33Z</dc:date>
    </item>
  </channel>
</rss>

