<?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: Displaying a Null Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-a-Null-Value/m-p/1108297#M366859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=NullCount(Aggr(Amount1*Amount2, No, Title, Item, Group, test))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2016 20:07:15 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-06-01T20:07:15Z</dc:date>
    <item>
      <title>Displaying a Null Value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-a-Null-Value/m-p/1108296#M366858</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;Hi Friends,&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;Please let me know if any one can help me on the logic for the below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 13.3333px;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 13.3333px;"&gt;Based on the "&lt;STRONG&gt;Group&lt;/STRONG&gt;" selection we need to check the "&lt;STRONG&gt;FINAL&lt;/STRONG&gt;" field&amp;nbsp; whether it has any null values or not.If there is any one null value, We Need to Give a Message in a &lt;STRONG&gt;Textbox&lt;/STRONG&gt;&amp;nbsp; as " &lt;STRONG&gt;Yes final has a Nullvalue&lt;/STRONG&gt;" or else " &lt;STRONG&gt;No null values&lt;/STRONG&gt;".If no selection in the Group field the Text should&amp;nbsp; display "&lt;STRONG&gt;Final field has null values or not&lt;/STRONG&gt;" based on the same condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 13.3333px;"&gt;Let me know if i need to re frame the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 13.3333px;"&gt;Thanks and Regards,&lt;/P&gt;&lt;P style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"&gt;Pooja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 19:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-a-Null-Value/m-p/1108296#M366858</guid>
      <dc:creator />
      <dc:date>2016-06-01T19:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying a Null Value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-a-Null-Value/m-p/1108297#M366859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=NullCount(Aggr(Amount1*Amount2, No, Title, Item, Group, test))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 20:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-a-Null-Value/m-p/1108297#M366859</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-01T20:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying a Null Value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-a-Null-Value/m-p/1108298#M366860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your valuable time. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above script is working. But still i have a concern, why we need to check with all the fields. If i check only with the Group field the answer is not coming. Below is my edited code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=NullCount(Aggr(Amount1*Amount2, Group)) &amp;gt; 0, 'Yes Final has Null', 'No Null Values')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why i have this doubt is, in future if we are adding some more fields in the DB. do i need to add those fields also into this script right..!! So instead can we check the conditions only between these "Group" and "amount1*amount2" fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understood my query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 00:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-a-Null-Value/m-p/1108298#M366860</guid>
      <dc:creator />
      <dc:date>2016-06-02T00:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying a Null Value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-a-Null-Value/m-p/1108299#M366861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is that when you are aggregating on Group only, Amount1*Amount2 is always null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you can try with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(NullCount(Aggr(Amount1*Amount2, Group, &lt;SPAN style="color: #ff0000;"&gt;No&lt;/SPAN&gt;)) &amp;gt; 0, 'Yes Final has Null', 'No Null Values')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 17:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-a-Null-Value/m-p/1108299#M366861</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-02T17:19:42Z</dc:date>
    </item>
  </channel>
</rss>

