<?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 Select first non null value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-first-non-null-value/m-p/194511#M55385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a function in Qlickview with will return the first non null value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do away with having to use multiple nested if statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 23:01:34 GMT</pubDate>
    <dc:creator>alan_grn</dc:creator>
    <dc:date>2010-03-25T23:01:34Z</dc:date>
    <item>
      <title>Select first non null value</title>
      <link>https://community.qlik.com/t5/QlikView/Select-first-non-null-value/m-p/194511#M55385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a function in Qlickview with will return the first non null value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do away with having to use multiple nested if statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 23:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-first-non-null-value/m-p/194511#M55385</guid>
      <dc:creator>alan_grn</dc:creator>
      <dc:date>2010-03-25T23:01:34Z</dc:date>
    </item>
    <item>
      <title>Select first non null value</title>
      <link>https://community.qlik.com/t5/QlikView/Select-first-non-null-value/m-p/194512#M55386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alan,&lt;/P&gt;&lt;P&gt;Depending on how is your data base sorted, you have two functions to get a non null value. One is&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(Not IsNull(Field), Field)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;but I prefer to use &lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(Len(Field) &amp;gt; 0, Field)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;Is that what you are looking for?&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 08:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-first-non-null-value/m-p/194512#M55386</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-03-26T08:13:33Z</dc:date>
    </item>
    <item>
      <title>Select first non null value</title>
      <link>https://community.qlik.com/t5/QlikView/Select-first-non-null-value/m-p/194513#M55387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way to avoid null in your situation is to put distinct like this: firstsortedvalue( distinct ...&lt;/P&gt;&lt;P&gt;In my case working perfectly, hope it will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jan 2011 23:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-first-non-null-value/m-p/194513#M55387</guid>
      <dc:creator />
      <dc:date>2011-01-23T23:41:11Z</dc:date>
    </item>
  </channel>
</rss>

