<?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 null value expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/null-value-expression-help/m-p/330433#M1174149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a field called Resolved Date, which has null and non-null values. I want to count all cases where Resolved Date is null&lt;/P&gt;&lt;P&gt;My SQL Server expression is &lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp; Count([Case ID])&lt;/P&gt;&lt;P&gt;FROM [DB].[dbo].[Table]&lt;/P&gt;&lt;P&gt;&amp;nbsp; WHERE [Assigned Group] ='Service Desk'&lt;/P&gt;&lt;P&gt;AND (isnull([Resolved Date/Time],'')='') &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #008000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My QV expression which is not working properly is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Assigned Group] = {'Service Desk'} &amp;gt;}&lt;/P&gt;&lt;P&gt;if(IsNull(ResolvedDate)=''), [Case ID]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm unable to properly formulate the null expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that the values for Resolved Date are not blank strings because when I use Case Id and Resolved Date in a Straight table chart and check Suppress when Null, all the records with Resolved Date as null/empty values get filtered out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would highly appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2012 17:49:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-01T17:49:29Z</dc:date>
    <item>
      <title>null value expression help</title>
      <link>https://community.qlik.com/t5/QlikView/null-value-expression-help/m-p/330433#M1174149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a field called Resolved Date, which has null and non-null values. I want to count all cases where Resolved Date is null&lt;/P&gt;&lt;P&gt;My SQL Server expression is &lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp; Count([Case ID])&lt;/P&gt;&lt;P&gt;FROM [DB].[dbo].[Table]&lt;/P&gt;&lt;P&gt;&amp;nbsp; WHERE [Assigned Group] ='Service Desk'&lt;/P&gt;&lt;P&gt;AND (isnull([Resolved Date/Time],'')='') &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #008000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My QV expression which is not working properly is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Assigned Group] = {'Service Desk'} &amp;gt;}&lt;/P&gt;&lt;P&gt;if(IsNull(ResolvedDate)=''), [Case ID]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm unable to properly formulate the null expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that the values for Resolved Date are not blank strings because when I use Case Id and Resolved Date in a Straight table chart and check Suppress when Null, all the records with Resolved Date as null/empty values get filtered out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would highly appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 17:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-value-expression-help/m-p/330433#M1174149</guid>
      <dc:creator />
      <dc:date>2012-05-01T17:49:29Z</dc:date>
    </item>
    <item>
      <title>null value expression help</title>
      <link>https://community.qlik.com/t5/QlikView/null-value-expression-help/m-p/330434#M1174150</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;&amp;nbsp;&amp;nbsp; You can do one change in datamodel itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Create a field which will tell you that the Resoved date is null or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(isnull(ResolvedDate),1,0) as NullCheck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; How you can use this as filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 18:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-value-expression-help/m-p/330434#M1174150</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-05-01T18:05:21Z</dc:date>
    </item>
    <item>
      <title>null value expression help</title>
      <link>https://community.qlik.com/t5/QlikView/null-value-expression-help/m-p/330435#M1174151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kaushik,&lt;/P&gt;&lt;P&gt;I did as you suggested. However, when I pulled in ResolvedDate and Null Check in a table box, I got a 0 value under Null Check field corresponding to a Blank value under Resolved Date. &lt;/P&gt;&lt;P&gt;This makes me wonder if it is not a null but a blank string issue. &lt;/P&gt;&lt;P&gt;What made me think it was a null value issue in the first place was the test that I had done as I mentioned in my initial post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me how I would modify my expression to accomodate for a blank string. &lt;/P&gt;&lt;P&gt;(When researching cases similar to this issue I found the expressions which used &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(len(trim(Expr) = 0&lt;/STRONG&gt;)), but was unable to get it working properly.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 18:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-value-expression-help/m-p/330435#M1174151</guid>
      <dc:creator />
      <dc:date>2012-05-01T18:44:07Z</dc:date>
    </item>
    <item>
      <title>null value expression help</title>
      <link>https://community.qlik.com/t5/QlikView/null-value-expression-help/m-p/330436#M1174152</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; First thing create a normal textbox of that field and see if you can see any blank values. if there then copy that and then use expression in load as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Resolveddate = ' ',1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 18:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-value-expression-help/m-p/330436#M1174152</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-05-01T18:49:03Z</dc:date>
    </item>
    <item>
      <title>null value expression help</title>
      <link>https://community.qlik.com/t5/QlikView/null-value-expression-help/m-p/330437#M1174153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;It worked like a charm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 02:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-value-expression-help/m-p/330437#M1174153</guid>
      <dc:creator />
      <dc:date>2012-05-02T02:53:06Z</dc:date>
    </item>
  </channel>
</rss>

