<?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 get the Last Value But not if it Null  ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129883#M604564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you think it will work if we take the exact script function and put it as expression on a straight table ? I'm finding difficulties doing it on the front-end..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2018 15:23:38 GMT</pubDate>
    <dc:creator>YoussefBelloum</dc:creator>
    <dc:date>2018-07-26T15:23:38Z</dc:date>
    <item>
      <title>How to get the Last Value But not if it Null  ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129880#M604561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I have a table with the following data, I am looking for a way to take the last value for every date that is&lt;STRONG&gt; NOT NULL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For example&lt;/STRONG&gt; - I tried to do it like : &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;CarNum, Date, &lt;SPAN style="color: #0000ff;"&gt;LastValue&lt;SPAN style="color: #333333;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;Employee) as Employee..&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;But I get Null on Employee field&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Group By &lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;CarNum, &lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Date&lt;/SPAN&gt;&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="143" style="border: 1px solid rgb(0, 0, 0); width: 539px; height: 138px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;CarNum&lt;/STRONG&gt;&lt;/P&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;P&gt;&lt;STRONG&gt;Line&lt;/STRONG&gt;&lt;/P&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&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;Employee&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;Driver&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;Location&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1234&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;26/07/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;David&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;TLV&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1234&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;26/07/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Avi&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Boris&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NYU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1234&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;26/07/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Asaf&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1234&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;26/07/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;John&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1234&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;26/07/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;HAIFA&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG style=": ; color: #333333;"&gt;The table that I am trying to get... &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="47" style="border: 1px solid #000000; width: 542px; height: 49px;" width="540"&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 style="color: #ffffff; font-size: 10pt; text-align: center; background-color: #6690bc;"&gt;CarNum&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;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG style="color: #ffffff; text-align: center;"&gt;Employee&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;Driver&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;Location&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1234&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;26/07/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Avi&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;John&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;HAIFA&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;&lt;SPAN style="color: #0f0f0f; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I need your help to find a solution,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Thank's Adiel&lt;/SPAN&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 14:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129880#M604561</guid>
      <dc:creator>Xabinav</dc:creator>
      <dc:date>2018-07-26T14:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Last Value But not if it Null  ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129881#M604562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD CarNum,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(If(Len(Trim(Employee)) &amp;gt; 0, Employee), -If(Len(Trim(Employee)) &amp;gt; 0, Line)) as Employee,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(If(Len(Trim(Driver)) &amp;gt; 0, Driver), -If(Len(Trim(Driver)) &amp;gt; 0, Line)) as Driver,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(If(Len(Trim(Location)) &amp;gt; 0, Location), -If(Len(Trim(Location)) &amp;gt; 0, Line)) as Location&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By CarNum, Date;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CarNum, Line, Date, Employee, Driver, Location&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234, 1, 26/07/2018, David, , TLV&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234, 2, 26/07/2018, Avi, Boris, NYU&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234, 3, 26/07/2018, , Asaf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234, 4, 26/07/2018, , John&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234, 5, 26/07/2018, , , HAIFA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 14:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129881#M604562</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-26T14:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Last Value But not if it Null  ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129882#M604563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"&gt;FirstSortedValue(If(Len(Trim(Employee)) &amp;gt; 0, Employee), -If(Len(Trim(Employee)) &amp;gt; 0, CarNum)) as Employee&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 14:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129882#M604563</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-07-26T14:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Last Value But not if it Null  ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129883#M604564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you think it will work if we take the exact script function and put it as expression on a straight table ? I'm finding difficulties doing it on the front-end..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 15:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129883#M604564</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-07-26T15:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Last Value But not if it Null  ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129884#M604565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to work okay for me&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/208970_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 15:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129884#M604565</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-26T15:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Last Value But not if it Null  ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129885#M604566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get it for a hour now.. loading OP's web table with '-' values and testing with len(trim())&amp;gt;0... -_-&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>Thu, 26 Jul 2018 15:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129885#M604566</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-07-26T15:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Last Value But not if it Null  ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129886#M604567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 15:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129886#M604567</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-26T15:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Last Value But not if it Null  ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129887#M604568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp;&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 07:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Last-Value-But-not-if-it-Null/m-p/129887#M604568</guid>
      <dc:creator>Xabinav</dc:creator>
      <dc:date>2018-07-29T07:49:17Z</dc:date>
    </item>
  </channel>
</rss>

