<?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 field value that isn't NULL in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440545#M34813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Table I posted originally is what the raw data looks like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which means this doesn't work for my particular case, but your solution would be correct if the raw data looked like in your picture. But still, thanks a lot! Because I do have other data that is very similar to what you posted and your function will help me with that. It's like you looked into the future and solved a problem i didn't know i had yet! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2017 08:55:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-13T08:55:35Z</dc:date>
    <item>
      <title>How to get the last field value that isn't NULL</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440539#M34807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have data that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 738px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl1273" height="21" width="98"&gt;Report Month&lt;/TD&gt;&lt;TD class="xl1273" style="border-left: none;" width="80"&gt;Gate 1&lt;/TD&gt;&lt;TD class="xl1273" style="border-left: none;" width="80"&gt;Gate 2&lt;/TD&gt;&lt;TD class="xl1273" style="border-left: none;" width="80"&gt;Gate 3&lt;/TD&gt;&lt;TD class="xl1273" style="border-left: none;" width="80"&gt;Gate 4&lt;/TD&gt;&lt;TD class="xl1273" style="border-left: none;" width="80"&gt;Gate 5&lt;/TD&gt;&lt;TD class="xl1273" style="border-left: none;" width="80"&gt;Gate 6&lt;/TD&gt;&lt;TD class="xl1273" style="border-left: none;" width="80"&gt;Gate 7&lt;/TD&gt;&lt;TD class="xl1274" style="border-left: none;" width="80"&gt;Gate 8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1279" height="20"&gt;Jan&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;13.05.2016&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;03.03.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;03.03.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;29.09.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;27.10.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.03.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;29.12.2018&lt;/TD&gt;&lt;TD align="right" class="xl1276" style="border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1278" height="20" style="border-top: none;"&gt;Feb&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;13.05.2016&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;03.03.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;03.03.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.06.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.07.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.03.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;29.12.2018&lt;/TD&gt;&lt;TD align="right" class="xl1276" style="border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1278" height="20" style="border-top: none;"&gt;Mär&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;13.05.2016&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;03.03.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.05.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.06.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.07.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.03.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;29.12.2018&lt;/TD&gt;&lt;TD align="right" class="xl1276" style="border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1278" height="20" style="border-top: none;"&gt;Apr&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;15.06.2016&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.05.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.06.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.12.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;15.02.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.03.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;29.12.2018&lt;/TD&gt;&lt;TD align="right" class="xl1276" style="border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1278" height="20" style="border-top: none;"&gt;Mai&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.06.2016&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.05.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.06.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.12.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;15.02.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.03.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;29.12.2018&lt;/TD&gt;&lt;TD align="right" class="xl1276" style="border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1278" height="20" style="border-top: none;"&gt;Jun&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;01.06.2016&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.04.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.04.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.12.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;15.02.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.03.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;29.12.2018&lt;/TD&gt;&lt;TD align="right" class="xl1276" style="border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1278" height="20" style="border-top: none;"&gt;Jul&lt;/TD&gt;&lt;TD class="xl1275" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.04.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.06.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.12.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;15.02.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.03.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;29.12.2018&lt;/TD&gt;&lt;TD align="right" class="xl1276" style="border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1278" height="20" style="border-top: none;"&gt;Aug&lt;/TD&gt;&lt;TD class="xl1275" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.08.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.12.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;15.02.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.03.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;29.12.2018&lt;/TD&gt;&lt;TD align="right" class="xl1276" style="border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1278" height="20" style="border-top: none;"&gt;Sep&lt;/TD&gt;&lt;TD class="xl1275" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.08.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.12.2017&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;15.02.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.08.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;29.12.2018&lt;/TD&gt;&lt;TD align="right" class="xl1276" style="border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1278" height="20" style="border-top: none;"&gt;Okt&lt;/TD&gt;&lt;TD class="xl1275" style="border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;15.02.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.05.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.08.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;29.12.2018&lt;/TD&gt;&lt;TD align="right" class="xl1276" style="border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1278" height="20" style="border-top: none;"&gt;Nov&lt;/TD&gt;&lt;TD class="xl1275" style="border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;15.02.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.05.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;31.08.2018&lt;/TD&gt;&lt;TD align="right" class="xl1275" style="border-left: none;"&gt;30.04.2019&lt;/TD&gt;&lt;TD align="right" class="xl1276" style="border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1278" height="20" style="border-top: none;"&gt;Dez&lt;/TD&gt;&lt;TD class="xl1272" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl1272" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl1272" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl1272" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl1272" style="border-top: none; border-left: none;"&gt;31.05.2018&lt;/TD&gt;&lt;TD align="right" class="xl1272" style="border-top: none; border-left: none;"&gt;31.08.2018&lt;/TD&gt;&lt;TD align="right" class="xl1272" style="border-top: none; border-left: none;"&gt;30.04.2019&lt;/TD&gt;&lt;TD align="right" class="xl1277" style="border-top: none; border-left: none;"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I want to make a table that shows the last given date for each "Gate" that is not NULL, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 164px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl1272" height="21" width="80"&gt;Gates&lt;/TD&gt;&lt;TD class="xl1272" width="84"&gt;Latest Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1273" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl1274"&gt;01.06.2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1273" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl1274"&gt;30.04.2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1273" height="20"&gt;3&lt;/TD&gt;&lt;TD class="xl1274"&gt;31.08.2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1273" height="20"&gt;4&lt;/TD&gt;&lt;TD class="xl1274"&gt;15.02.2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1273" height="20"&gt;5&lt;/TD&gt;&lt;TD class="xl1274"&gt;31.05.2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1273" height="20"&gt;6&lt;/TD&gt;&lt;TD class="xl1274"&gt;31.08.2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1273" height="20"&gt;7&lt;/TD&gt;&lt;TD class="xl1274"&gt;30.04.2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl1273" height="20"&gt;8&lt;/TD&gt;&lt;TD class="xl1274"&gt;14.06.2019&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the Gates into Rows, I used &lt;STRONG&gt;ValueList(...)&lt;/STRONG&gt;. With that i planned on creating custom measures for each Gate by using &lt;STRONG&gt;if-statements&lt;/STRONG&gt; (since they're in different Fields in the Source Data), like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ValueList(...)='1'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Get latest date from Field "Gate 1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,if(ValueList(...)='2'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Get latest date from Field "Gate 2"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,if(ValueList(...)='3'&lt;/P&gt;&lt;P&gt;and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do I get the latest value from each field? &lt;STRONG&gt;Max([Gate X])&lt;/STRONG&gt; doesn't work, because newer dates may be earlier than the ones before (see "Gate 1").&lt;/P&gt;&lt;P&gt;I created a calculated Field that translates the month names into numbers 1 to 12, so that i could use &lt;STRONG&gt;FirstSortedValue()&lt;/STRONG&gt; in a &lt;STRONG&gt;For...Next-Statement&lt;/STRONG&gt; to just check every row with &lt;STRONG&gt;isnull()&lt;/STRONG&gt; counting down from 12, but &lt;STRONG&gt;For...Next&lt;/STRONG&gt; is not available as a chart function in Qlik Sense.&lt;/P&gt;&lt;P&gt;So next i tried checking every row via chained &lt;STRONG&gt;if-statements&lt;/STRONG&gt;, but the script won't allow the necessary amount of characters for a single measure (would have been 11 &lt;STRONG&gt;IF&lt;/STRONG&gt;s for each of the 8 Gates).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is: What function could i put in place of "Get latest date from Field 'Gate X'" for it to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 14:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440539#M34807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T14:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the last field value that isn't NULL</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440540#M34808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Max({&amp;lt;[Gate X] = {"*"}&amp;gt;}[Gate X])&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 16:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440540#M34808</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-06T16:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the last field value that isn't NULL</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440541#M34809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply, but that doesn't do it unfortunately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As stated, Max() doesn't work because Gate-Dates given in later Report Months may be earlier than the ones before. For "Gate 1" your suggestion returns the highest value (30.06.2016 from May) instead of the desired 01.06.2016 from June.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the idea of using &lt;STRONG&gt;count([Gate X])&lt;/STRONG&gt; as a rank modifier for &lt;STRONG&gt;FirstSortedValue()&lt;/STRONG&gt;, i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue([Gate X], [Report Month as number], count([Gate X]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i would always get the date in the lowest filled row. But &lt;STRONG&gt;FirstSortedValue()&lt;/STRONG&gt; doesn't seem to accept functions as a rank. Just typing the correct number works, but using &lt;STRONG&gt;count()&lt;/STRONG&gt; only returns NULL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 07:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440541#M34809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-08T07:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the last field value that isn't NULL</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440542#M34810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this in that case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue({&amp;lt;[Gate X] = {"*"}&amp;gt;} [Gate X], -[Report Month as number])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 12:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440542#M34810</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-08T12:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the last field value that isn't NULL</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440543#M34811</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;I am not sure about your data model but it will work for you I guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp: FirstSortedValue({&amp;lt;date={"=len(date)&amp;gt;0"}&amp;gt;} date, -RM_Num)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186217_Untitled.png" style="height: 396px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 13:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440543#M34811</guid>
      <dc:creator>kaanerisen</dc:creator>
      <dc:date>2017-12-08T13:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the last field value that isn't NULL</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440544#M34812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works like a charm. Thank you a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 08:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440544#M34812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-13T08:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the last field value that isn't NULL</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440545#M34813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Table I posted originally is what the raw data looks like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which means this doesn't work for my particular case, but your solution would be correct if the raw data looked like in your picture. But still, thanks a lot! Because I do have other data that is very similar to what you posted and your function will help me with that. It's like you looked into the future and solved a problem i didn't know i had yet! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 08:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-the-last-field-value-that-isn-t-NULL/m-p/1440545#M34813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-13T08:55:35Z</dc:date>
    </item>
  </channel>
</rss>

