<?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 Find last value in Table using Bottom function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467855#M569207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its works great on a Cumulative column, but wont on non-cumulative. I don't think its possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Im trying to is find the last value of a Line Expression that is non cumulative. &lt;/P&gt;&lt;P&gt;Granted the Max works in my case sample above but not in every case.&amp;nbsp; See Marked Line in attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its ueses this Exp which jumps all over the place which is fine but make sit hard to find last value.&lt;/P&gt;&lt;P&gt;=($(BAC)) / ($(CPI))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2012 13:03:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-05T13:03:42Z</dc:date>
    <item>
      <title>How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467847#M569199</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;I'm trying to find a way to return the last valid value in a Straight table Column&amp;nbsp; BCWP &lt;/P&gt;&lt;P&gt;in this example&amp;nbsp; its: &lt;STRONG&gt;20,770&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like to find a clever way to get the value without having to hard code the 6 since its located at this row from bottom.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;Bottom&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;EV_TBC&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;%Complete&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;),&lt;STRONG&gt;6&lt;/STRONG&gt; ,0)&amp;nbsp;&amp;nbsp; I want to use this in another calculation to return the last cumulative value.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cumulative values in BCWP&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 165px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="98"&gt;Weeks&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="67"&gt;BCWP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;03-Sep-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$525&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;10-Sep-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$2,800&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;17-Sep-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$5,885&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;24-Sep-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$7,820&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01-Oct-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$9,725&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;08-Oct-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$15,170&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;15-Oct-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;&lt;STRONG&gt;$20,770&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;22-Oct-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;29-Oct-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;05-Nov-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;12-Nov-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;19-Nov-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;$0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 13:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467847#M569199</guid>
      <dc:creator />
      <dc:date>2012-10-04T13:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467848#M569200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about max(BCWP) to get the maximum value? As long as the cumulative keeps growing this should work ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 14:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467848#M569200</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-04T14:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467849#M569201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That definitely makes sense. For some reason it returned null&amp;nbsp; - &lt;/P&gt;&lt;P&gt;I tried this below, but it ended up returning the same values shown above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would think QV would have a function to check for last known value in a column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max(aggr&lt;/STRONG&gt;(Sum(EV_TBC * %Complete),EVM_Weeks))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 14:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467849#M569201</guid>
      <dc:creator />
      <dc:date>2012-10-04T14:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467850#M569202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add TOTAL to your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Max(&lt;STRONG&gt;TOTA&lt;/STRONG&gt;L aggr(Sum(EV_TBC * %Complete),EVM_Weeks))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 14:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467850#M569202</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-10-04T14:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467851#M569203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was it!&amp;nbsp; I was missing the TOTAL clause. Thanks Rob&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Very helpful site BTW, great tools.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 14:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467851#M569203</guid>
      <dc:creator />
      <dc:date>2012-10-04T14:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467852#M569204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if I have a column that is similar but not cumulative? I.e the values simply vary... Any Quick way to get the last value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 15:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467852#M569204</guid>
      <dc:creator />
      <dc:date>2012-10-04T15:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467853#M569205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new',courier;"&gt;Max(&lt;STRONG&gt;TOTA&lt;/STRONG&gt;L aggr( &lt;STRONG&gt;above( TOTAL&lt;/STRONG&gt; Sum(EV_TBC * %Complete)&lt;STRONG&gt; )&lt;/STRONG&gt;,EVM_Weeks))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 12:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467853#M569205</guid>
      <dc:creator>rlp</dc:creator>
      <dc:date>2012-10-05T12:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467854#M569206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works. I see it has above and&amp;nbsp; then Total used twice.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Is this just a different way or is it more powerful/flexible ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 12:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467854#M569206</guid>
      <dc:creator />
      <dc:date>2012-10-05T12:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467855#M569207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its works great on a Cumulative column, but wont on non-cumulative. I don't think its possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Im trying to is find the last value of a Line Expression that is non cumulative. &lt;/P&gt;&lt;P&gt;Granted the Max works in my case sample above but not in every case.&amp;nbsp; See Marked Line in attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its ueses this Exp which jumps all over the place which is fine but make sit hard to find last value.&lt;/P&gt;&lt;P&gt;=($(BAC)) / ($(CPI))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 13:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467855#M569207</guid>
      <dc:creator />
      <dc:date>2012-10-05T13:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467856#M569208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe just bottom(SomeExpression) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 13:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467856#M569208</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-05T13:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467857#M569209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;STRONG&gt;EAC &lt;/STRONG&gt;column matches my Line. Problem is its not the Max value in this case. &lt;STRONG&gt;$17,593&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I just tried&amp;nbsp; Bottom( TOTAL ($(BAC)) / ($(CPI))&amp;nbsp; )&amp;nbsp; no luck, but do I get what your saying.&lt;/P&gt;&lt;P&gt;I wonder if its just a simple thing I missing or if its really complex...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This one works perfect as is: =($(BAC)) / ($(CPI)) &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks gwassenaar for the help so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Line Exp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NULL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Total Correct for this&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 321px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="96"&gt;EAC&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="127"&gt;&lt;STRONG&gt;EAC Last&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Max(TOTAL aggr(Sum(EV_TBC * %Complete),EVM_Weeks))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;$38,400&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;$17,550&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;$19,483&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;$21,107&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;$27,986&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;$22,592&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;&lt;STRONG&gt;$17,593&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20770&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 13:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467857#M569209</guid>
      <dc:creator />
      <dc:date>2012-10-05T13:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467858#M569210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thsi works but it requires me to manually put in the last Line using offeset ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bottom( TOTAL ($(BAC)) / ($(CPI)), &lt;STRONG&gt;-7&lt;/STRONG&gt;&amp;nbsp; ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 13:22:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467858#M569210</guid>
      <dc:creator />
      <dc:date>2012-10-05T13:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467859#M569211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample qvw so that we can test before posting ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 13:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467859#M569211</guid>
      <dc:creator>rlp</dc:creator>
      <dc:date>2012-10-05T13:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467860#M569212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the simple way is to keep the numeric value of your date EV_WEEKS so that you can do Set Analysis on this.&lt;/P&gt;&lt;P&gt;Moreover, it's always a good thing to keep numeric fields because they are easier to sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can so calculate the cumulative with the following set modifier &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { $&amp;lt;EV_WEEKS = {""&amp;lt;= Only(EV_WEEKS)"}&amp;gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following step is to use this modifier inside the "max" aggregation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max( TOTAL &amp;lt;the_preceding_set_modifier&amp;gt; &amp;lt;your_expression&amp;gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 14:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467860#M569212</guid>
      <dc:creator>rlp</dc:creator>
      <dc:date>2012-10-05T14:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467861#M569213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I used it like this but I get a syntax error I marked in yellow. Im new with SA: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="color: red; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;EV_WEEKS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;""&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black; background: yellow;"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;EV_WEEKS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"}&amp;gt; } aggr(Sum(EV_TBC * %Complete),EVM_Weeks)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Thanks Richard.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 14:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467861#M569213</guid>
      <dc:creator />
      <dc:date>2012-10-05T14:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467862#M569214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's an error of mine. There should be only one quote:&lt;/P&gt;&lt;P&gt;{ "&amp;lt;= &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 14:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467862#M569214</guid>
      <dc:creator>rlp</dc:creator>
      <dc:date>2012-10-05T14:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467863#M569215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that fixed it. Still not sure how SA helps? does it limit it to only the numeric Dates? forgive my ignorance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;BG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 14:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467863#M569215</guid>
      <dc:creator />
      <dc:date>2012-10-05T14:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467864#M569216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact Set Analysis provide a way to calculate an accumulation because you change the curerent selection operated by the chart in a selection providing all the dates BEFORE the current date. That's why I said you to keep the numeric value of the date because this enables sorting and so the calculation of the accumulation.&lt;/P&gt;&lt;P&gt;If you try such a sorting with a textual field, you will obtain erroneous results because you would calculate the accumulation over all the weeks whose textual representation is alphabetically before the current selection (e.g. 03-Oct would precede 03-Sep).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 15:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467864#M569216</guid>
      <dc:creator>rlp</dc:creator>
      <dc:date>2012-10-05T15:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467865#M569217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought the next question might be how to get the last value if it's not max &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an expression to return the last non-zero value in Week order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=FirstSortedValue(TOTAL &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;aggr(sum(EV_TBC * [%Complete]), Week)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,-if([%Complete]=0,0,Week))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 18:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467865#M569217</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-10-05T18:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Find last value in Table using Bottom function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467866#M569218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob, I will give that a try. Seems like the right solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 18:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-value-in-Table-using-Bottom-function/m-p/467866#M569218</guid>
      <dc:creator />
      <dc:date>2012-10-05T18:45:50Z</dc:date>
    </item>
  </channel>
</rss>

