<?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: How to Exclude Null Values from Calculated Expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743168#M265337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thabiso, on your data, if expression was Sum(People), and ther were only services A and B, the chart will still show the null dimension to sum all that People not related to dimension. This is what is happening, if you achieve to modify your calculated dimension to avoid nulls, they still can be shown because of expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually the best way to avoid null dimensions is check that 'Supress when is null', if for some reason you don't want it, you'll need to change expressions, in example you can use this expression:&lt;/P&gt;&lt;P&gt;If(Match(Service, if( aggr(rank(sum(People)),Service)&amp;lt;=vTopValue,Service)),&lt;/P&gt;&lt;P&gt;Sum(People))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 13:50:54 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2015-03-18T13:50:54Z</dc:date>
    <item>
      <title>How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743159#M265328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i exclude Nulls from my Calculated Dimension Expression?&lt;/P&gt;&lt;P&gt;Below is my Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( aggr(rank(sum(People)),Service)&amp;lt;=vTopValue,Service)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAMPLE TABLE:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Service&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;People&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;676&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTPUT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Service&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;People&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;34&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743159#M265328</guid>
      <dc:creator />
      <dc:date>2015-03-18T13:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743160#M265329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thabiso, select the dimension and check 'supress when value is null'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743160#M265329</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-03-18T13:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743161#M265330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;under the dimension tab, select the dimension and then click on suppress when value is null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743161#M265330</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2015-03-18T13:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743162#M265331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try using Suppress Null Values on the Dimension tab of chart properties?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81152_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743162#M265331</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-18T13:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743163#M265332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Thanks for your quick response, but &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;i want to write it within the Code not through the Suppress Null Method, is there any way to do this? &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;some of the Queries i used Suppress bt on this one i wanna use Code, in order to boost my skills.&lt;/SPAN&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;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743163#M265332</guid>
      <dc:creator />
      <dc:date>2015-03-18T13:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743164#M265333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By code do you mean from the script? If yes, then you can write the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD SERVICE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM yourLocation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Len(Trim(SERVICE)) &amp;lt;&amp;gt; 0;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743164#M265333</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-18T13:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743165#M265334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if( aggr(rank(sum(People)),Service)&amp;lt;=vTopValue and not isnull(Service),Service)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743165#M265334</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2015-03-18T13:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743166#M265335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess by code you mean the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my guess is that your expression for People is Sum(People). If it is then you should be able to use the following expression for People:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Service = {'*?'}&amp;gt;}People)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and see if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743166#M265335</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-18T13:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743167#M265336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunindia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to apply same code under Chart Properties where i added a Calculated Dimension?&lt;/P&gt;&lt;P&gt;thats where i want the code to be, not on the Load Script, directly from Front End?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743167#M265336</guid>
      <dc:creator />
      <dc:date>2015-03-18T13:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743168#M265337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thabiso, on your data, if expression was Sum(People), and ther were only services A and B, the chart will still show the null dimension to sum all that People not related to dimension. This is what is happening, if you achieve to modify your calculated dimension to avoid nulls, they still can be shown because of expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually the best way to avoid null dimensions is check that 'Supress when is null', if for some reason you don't want it, you'll need to change expressions, in example you can use this expression:&lt;/P&gt;&lt;P&gt;If(Match(Service, if( aggr(rank(sum(People)),Service)&amp;lt;=vTopValue,Service)),&lt;/P&gt;&lt;P&gt;Sum(People))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743168#M265337</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-03-18T13:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743169#M265338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't work, basically i need it to add the next row, incase i want Top 5 Sales, then one of the Rows is Null, then jump to next Row to get direct num Top 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743169#M265338</guid>
      <dc:creator />
      <dc:date>2015-03-18T13:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743170#M265339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if i suppress, then is it possible to add 1 more row so that the Top Range would be correct, because if suppressed and my request was show me Top 5 of Sales: then if one row is Supressed it will show 4 rows, so now is it possible to add one more row in case to get correct Range?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743170#M265339</guid>
      <dc:creator />
      <dc:date>2015-03-18T13:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743171#M265340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thabiso, i don't know why is showing only 4 rows, if you tell 5 it should show 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably there are People unrelated to a service, and People with null service is in top five, lowering all other services one spot, can you check if this is what is happening?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743171#M265340</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-03-18T13:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743172#M265341</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;it shows Error in Calculated Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any reason why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 13:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743172#M265341</guid>
      <dc:creator />
      <dc:date>2015-03-18T13:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743173#M265342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If is this you can change calculated dimension to:&lt;/P&gt;&lt;P&gt;=if(aggr(rank(sum({&amp;lt;Service={"*"}&amp;gt;} People)),Service)&amp;lt;=vTopValue,Service)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 14:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743173#M265342</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-03-18T14:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743174#M265343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, what I posted in that post was for expression, not dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 14:02:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743174#M265343</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-03-18T14:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743175#M265344</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;it only shows 4 if i suppressed, but if i didin't then it shows 5, but the 5th one is null field but with the value on the other column and its basically high on them all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so there's no other solution to exclude null and count the next row?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 14:02:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743175#M265344</guid>
      <dc:creator />
      <dc:date>2015-03-18T14:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743176#M265345</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;on the Expression i tried, and it works but still my top range is 5, it shows me 4, so i want it to add one more row so that it becomes 5 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 14:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743176#M265345</guid>
      <dc:creator />
      <dc:date>2015-03-18T14:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743177#M265346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thabiso&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this as the calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( Service &amp;lt;&amp;gt; null(),&amp;nbsp; if( aggr(rank(sum(People)),Service)&amp;lt;=vTopValue,Service) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Teis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 14:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743177#M265346</guid>
      <dc:creator />
      <dc:date>2015-03-18T14:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude Null Values from Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743178#M265347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i crated this data:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD If(Service='', null(), Service) as Service, People;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Service,People&lt;/P&gt;&lt;P&gt;A,200&lt;/P&gt;&lt;P&gt;B,34&lt;/P&gt;&lt;P&gt;,676&lt;/P&gt;&lt;P&gt;,90&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the dimension if( aggr(rank(sum(People)),Service)&amp;lt;=2,Service)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="81142" alt="" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81142_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;If I use&lt;/P&gt;&lt;P&gt;=if( aggr(rank(sum({&amp;lt;Service={"*"}&amp;gt;} People)),Service)&amp;lt;=2,Service)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="81161" alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/81161_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference between those two is that in the first, te null() service is on top 2, and Service B goes to Top3, so it doesn't show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both I used sunindia's expression: &lt;STRONG&gt;=Sum({&amp;lt;Service = {'*?'}&amp;gt;}People)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 14:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Exclude-Null-Values-from-Calculated-Expression/m-p/743178#M265347</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-03-18T14:11:57Z</dc:date>
    </item>
  </channel>
</rss>

