<?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: Remove Null values in Text box calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190323#M627741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='€' &amp;amp; Num(sum({&amp;lt;[Reporting Unit_Name] -= {'-'}&amp;gt;}ACTUAL_SALES)/1000000, '####') &amp;amp;' M'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2016 09:49:46 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2016-09-22T09:49:46Z</dc:date>
    <item>
      <title>Remove Null values in Text box calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190319#M627737</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;&lt;/P&gt;&lt;P&gt;I'm having below expression in text box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='€' &amp;amp; Num($(eSALES_ACTUAL) / 1000000, '####') &amp;amp;' M'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show in calculation when Plant &amp;gt;0 , I want to avoid numbers for null values of Plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 09:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190319#M627737</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2016-09-22T09:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Null values in Text box calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190320#M627738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit how do you define eSALES_ACTUAL variable? Can you change its definition? If not, then may be try this:&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;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Sum(Aggr(If(Len(Trim(Plant)) &amp;gt; 0,&lt;/SPAN&gt; Num($(eSALES_ACTUAL)/1000000, '&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;€&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;####&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt; M&lt;/STRONG&gt;&lt;/SPAN&gt;')&lt;SPAN style="color: #ff0000;"&gt;, Plant))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also put the euro sign and mill within the number format to make things easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: Change my logic for using Len(Trim(Plant)) &amp;gt; 0 based on Avinash's response below. But in case we are checking for Plant &amp;gt; 0, then may be this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Sum(Aggr(If(Plant &amp;gt; 0,&lt;/SPAN&gt; Num($(eSALES_ACTUAL)/1000000, '&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;€&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;####&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt; M&lt;/STRONG&gt;&lt;/SPAN&gt;')&lt;SPAN style="color: #ff0000;"&gt;, Plant))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 09:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190320#M627738</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-22T09:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Null values in Text box calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190321#M627739</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;if(len(trim(Plant))&amp;gt;0,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;€' &amp;amp; Num($(eSALES_ACTUAL) / 1000000, '####') &amp;amp;' M'')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 09:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190321#M627739</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-09-22T09:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Null values in Text box calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190322#M627740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Avinash - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text boxes don't have any dimensions, how will Len(Trim(Plan)) &amp;gt; 0 will be evaluated outside of any aggregation. This statement will end up being false and will show null, isn't it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 09:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190322#M627740</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-22T09:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Null values in Text box calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190323#M627741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='€' &amp;amp; Num(sum({&amp;lt;[Reporting Unit_Name] -= {'-'}&amp;gt;}ACTUAL_SALES)/1000000, '####') &amp;amp;' M'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 09:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190323#M627741</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2016-09-22T09:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Null values in Text box calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190324#M627742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So it was not even null? It was infact -?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 09:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190324#M627742</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-22T09:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Null values in Text box calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190325#M627743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ sorry Bro , I forgot that we are having this issue in text box &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 09:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190325#M627743</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-09-22T09:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Null values in Text box calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190326#M627744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Bro!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 10:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Null-values-in-Text-box-calculation/m-p/1190326#M627744</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2016-09-22T10:28:37Z</dc:date>
    </item>
  </channel>
</rss>

