<?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: Show Last value for a Cumulative Line in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389571#M561752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Mar 2013 17:47:36 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-03-25T17:47:36Z</dc:date>
    <item>
      <title>Show Last value for a Cumulative Line</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389567#M561748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Chart where I want to showthe total cumulative value once its reached at the the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to Show Max / Min values for the Bars but &lt;STRONG&gt;NOT &lt;/STRONG&gt;the &lt;STRONG&gt;Cumulative&lt;/STRONG&gt;.&amp;nbsp; Any assistance would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula I used is this: the first part is to get Rank of 1 test if when it&amp;nbsp; = Summation then output Total value. &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;If&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: blue;"&gt;Rank&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: blue;"&gt;RangeSum&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: blue;"&gt;above&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: blue;"&gt;Sum&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;RevAmt&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;()))) = 1 , &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1} &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: maroon;"&gt;RevAmt&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then use the Show Value option like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35476" class="jive-image-thumbnail jive-image" onclick="" alt="2013-03-25_112540.png" src="https://community.qlik.com/legacyfs/online/35476_2013-03-25_112540.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attahced. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 15:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389567#M561748</guid>
      <dc:creator />
      <dc:date>2013-03-25T15:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Show Last value for a Cumulative Line</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389568#M561749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to show the value of the expression for the last value of the x-axis dimension. Can't you use max&amp;nbsp; to test for that? if(max([Rev Months])=[Rev Months],1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 15:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389568#M561749</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-25T15:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Show Last value for a Cumulative Line</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389569#M561750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No luck. Tried this. if(max(RevMonth)=RevMonth, Sum({1} TOTAL RevAmt),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems simple but proving not to be for Cumulative.&lt;/P&gt;&lt;P&gt;I can draw a Cumulative line using this: &lt;STRONG&gt;RangeSum(above(Sum( RevAmt),0,RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I&amp;nbsp; figured I would use that to Compare against my total value which outputs the correct total. Instead it outputs for every plot point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 15:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389569#M561750</guid>
      <dc:creator />
      <dc:date>2013-03-25T15:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Show Last value for a Cumulative Line</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389570#M561751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to get this expression to show but plots incorrectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Sum(&amp;nbsp; RevAmt)&lt;STRONG&gt; =&lt;/STRONG&gt; RangeSum(above(Sum(RevAmt),0,RowNo())) , Sum( &lt;STRONG&gt;TOTAL &lt;/STRONG&gt;RevAmt) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35489" class="jive-image-thumbnail jive-image" onclick="" alt="2013-03-25_133040.png" src="https://community.qlik.com/legacyfs/online/35489_2013-03-25_133040.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 17:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389570#M561751</guid>
      <dc:creator />
      <dc:date>2013-03-25T17:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Show Last value for a Cumulative Line</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389571#M561752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 17:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389571#M561752</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-25T17:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Show Last value for a Cumulative Line</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389572#M561753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice, I see what you meant before but more so. Instead use the Text vs Show Value. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 18:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Last-value-for-a-Cumulative-Line/m-p/389572#M561753</guid>
      <dc:creator />
      <dc:date>2013-03-25T18:08:08Z</dc:date>
    </item>
  </channel>
</rss>

