<?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 Display accumulative value as Text in chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-accumulative-value-as-Text-in-chart/m-p/332149#M575770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a chart that shows accumulative value of an investment over time. User can enter 3 variables: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStartDate - start date for the chart&lt;/P&gt;&lt;P&gt;vEndDate - end date for the chart&lt;/P&gt;&lt;P&gt;vAmt1 - value of potential investment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created new expression named &lt;EM&gt;Initial_Return &lt;/EM&gt;and used Above function which works perfectly. The expression that calculates potential return on investment looks as follows: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vStartDate, &lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vAmt1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*(1+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Return of Initial Investment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Initial_Return]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*(1+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Return of Initial Investment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt;Now, at the end of the line I wanted to display last value of potential return on investment, so I have created the following expression, which works well as well:&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vEndDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;,(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Initial_Return]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*(1+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Return of Initial Investment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),' ') &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt;Now, my problem: I want to display this last value as a text in chart with some additional text explanation next to it. And here I face a problem, as Above function works really well in tables, charts but not in text box. And, aditionally, in my expression I refer to column [Initial_return] that is it is not an actual field but an expressive/column in our table. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt;I am attaching my QV file so it might be more clear of what I am trying to do - basically, I want to display $12 969 as a text in chart...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt;Thanks for help in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt;Katie&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2012 13:34:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-02T13:34:23Z</dc:date>
    <item>
      <title>Display accumulative value as Text in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Display-accumulative-value-as-Text-in-chart/m-p/332149#M575770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a chart that shows accumulative value of an investment over time. User can enter 3 variables: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStartDate - start date for the chart&lt;/P&gt;&lt;P&gt;vEndDate - end date for the chart&lt;/P&gt;&lt;P&gt;vAmt1 - value of potential investment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created new expression named &lt;EM&gt;Initial_Return &lt;/EM&gt;and used Above function which works perfectly. The expression that calculates potential return on investment looks as follows: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vStartDate, &lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vAmt1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*(1+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Return of Initial Investment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Initial_Return]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*(1+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Return of Initial Investment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt;Now, at the end of the line I wanted to display last value of potential return on investment, so I have created the following expression, which works well as well:&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vEndDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;,(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Initial_Return]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*(1+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Return of Initial Investment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),' ') &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt;Now, my problem: I want to display this last value as a text in chart with some additional text explanation next to it. And here I face a problem, as Above function works really well in tables, charts but not in text box. And, aditionally, in my expression I refer to column [Initial_return] that is it is not an actual field but an expressive/column in our table. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt;I am attaching my QV file so it might be more clear of what I am trying to do - basically, I want to display $12 969 as a text in chart...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt;Thanks for help in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 10pt;"&gt;Katie&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 13:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-accumulative-value-as-Text-in-chart/m-p/332149#M575770</guid>
      <dc:creator />
      <dc:date>2012-05-02T13:34:23Z</dc:date>
    </item>
  </channel>
</rss>

