<?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 expression with not null values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356547#M575594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It doesn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2012 10:22:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-17T10:22:38Z</dc:date>
    <item>
      <title>expression with not null values</title>
      <link>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356545#M575592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; Hi all,&lt;BR /&gt;I want to calculate the average of the Sales but where the value of the sale is not null!&lt;BR /&gt;I try with this expression but nothing&amp;nbsp; &lt;BR /&gt;avg({&amp;lt; [Sales] -= {""} &amp;gt;} Sales) &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;BR /&gt;Someone can help me?&lt;/P&gt;Thanks all.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 10:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356545#M575592</guid>
      <dc:creator />
      <dc:date>2012-05-17T10:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: expression with not null values</title>
      <link>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356546#M575593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;How about this expression ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;avg({&amp;lt; [Sales] -= {"=Null()"} &amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers - DV&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 10:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356546#M575593</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-17T10:17:47Z</dc:date>
    </item>
    <item>
      <title>expression with not null values</title>
      <link>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356547#M575594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It doesn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 10:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356547#M575594</guid>
      <dc:creator />
      <dc:date>2012-05-17T10:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: expression with not null values</title>
      <link>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356548#M575595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I think that avg eliminates nulls automatically, no need to do anything about it.&amp;nbsp; That is, just use &lt;/P&gt;&lt;P&gt;avg(Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 10:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356548#M575595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-17T10:24:54Z</dc:date>
    </item>
    <item>
      <title>expression with not null values</title>
      <link>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356549#M575596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; No, avg doesn't eliminate null values!&lt;BR /&gt;Now I have seen that when the sale value is null it is rappresented in the table as -&lt;BR /&gt;I try: avg({&amp;lt;[Sales]-={'-'}&amp;gt;} Sales) but nothing again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 10:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356549#M575596</guid>
      <dc:creator />
      <dc:date>2012-05-17T10:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: expression with not null values</title>
      <link>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356550#M575597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Even, I have assumed that Avg() excludes the Null values. Please can you post the QVW file? It will be easy to see the data. Meanwhile have you tried something like this...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;IF(Sales &amp;lt;&amp;gt; Null(), Avg(Sales))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 10:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356550#M575597</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-17T10:39:24Z</dc:date>
    </item>
    <item>
      <title>expression with not null values</title>
      <link>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356551#M575598</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;Avg will always exclude the null and non numeric value. So there is no need to do anything. Use AVG(Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 10:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356551#M575598</guid>
      <dc:creator />
      <dc:date>2012-05-17T10:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: expression with not null values</title>
      <link>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356552#M575599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, look into attached example. It should give you necessary knowledge to sort out your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Janusz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 13:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356552#M575599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-17T13:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: expression with not null values</title>
      <link>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356553#M575600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Janusz - Nice little example! Thanks for sharing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers - DV&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 15:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356553#M575600</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-17T15:00:42Z</dc:date>
    </item>
    <item>
      <title>expression with not null values</title>
      <link>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356554#M575605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 07:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-with-not-null-values/m-p/356554#M575605</guid>
      <dc:creator />
      <dc:date>2012-05-18T07:09:10Z</dc:date>
    </item>
  </channel>
</rss>

