<?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 write expression to get values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549832#M1132059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Nov 2013 12:05:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-20T12:05:29Z</dc:date>
    <item>
      <title>How to write expression to get values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549825#M1132052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to use Sum(Commision) in staright table but oit contains some NULL values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to write expression to skip null values i,e to replace NULL with zero.&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, 20 Nov 2013 11:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549825#M1132052</guid>
      <dc:creator />
      <dc:date>2013-11-20T11:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression to get values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549826#M1132053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean field Commission contain NULLs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think what you want is the default behaviour of sum(), what do you observe?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 11:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549826#M1132053</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-20T11:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression to get values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549827#M1132054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes filed commision has Null values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, I need to use ISNULL function . can you please send me the expression how to use ISNULL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 11:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549827#M1132054</guid>
      <dc:creator />
      <dc:date>2013-11-20T11:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression to get values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549828#M1132055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if I understood correctly, sum(Commission) should be enough, summing all numeric values (and NULL is not a value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You probably ask for something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(if (not isnull(Commission), Commission,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I don't think that returns something different than just sum(Commission).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 11:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549828#M1132055</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-20T11:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression to get values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549829#M1132056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well you could also 'fix' your Nulls in the load script in a similar manner and thereby avoid worrying about it at the expression stage. Thus you could write something along the lines of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming your load script looks similar to this now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Commission&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try doing this instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;If(IsNull(Commission,0,Commission) as Commission&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// the logic of the above is if the value of Commission field = Null then let its value be 0, otherwise just use whatever value Commission field already has.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 11:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549829#M1132056</guid>
      <dc:creator />
      <dc:date>2013-11-20T11:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression to get values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549830#M1132057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks and I suppose I should have use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if ( isnull(Commision),0, Commision))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 11:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549830#M1132057</guid>
      <dc:creator />
      <dc:date>2013-11-20T11:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression to get values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549831#M1132058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well IMO both swuehl and your logic will work, one is just the reverse logic of the other.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 12:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549831#M1132058</guid>
      <dc:creator />
      <dc:date>2013-11-20T12:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression to get values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549832#M1132059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 12:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549832#M1132059</guid>
      <dc:creator />
      <dc:date>2013-11-20T12:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to write expression to get values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549833#M1132060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in presentation tab below null symbol puts - replace it with 0 then ok&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 12:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-expression-to-get-values/m-p/549833#M1132060</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-11-20T12:20:31Z</dc:date>
    </item>
  </channel>
</rss>

