<?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: Depreciation margin Curve in a Line Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Depreciation-margin-Curve-in-a-Line-Chart/m-p/933651#M651518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for starters, I'm not too sure why do you need to use AGGR() in your calculation. If both Day/Month/Year and FN2 are your chart dimensions, then AGGR() is redundant. If they are not, then you need to apply another aggregation function, such as sum(), on top of the AGGR().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards to your questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- You add another Line to the line Chart by adding another Expression.&lt;/P&gt;&lt;P&gt;- In order to calculate differences in quantities between the "current" value, the previous value and/or the first (or last) value in the chart, you can use functions Above(), Below(), Top(), and Bottom(). Check out the Help Article "Chart Inter Record Functions".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=HEF4KYLLE22XIQH2"&gt;QlikView Your Business: An expert guide to Business Discovery with QlikView and Qlik Sense&lt;/A&gt;&lt;IMG alt="" border="0" height="1" src="http://ir-na.amazon-adsystem.com/e/ir?t=natursyner0f-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=1118949552" style="border: none !important; margin: 0px !important;" width="1" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Aug 2015 22:45:42 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2015-08-30T22:45:42Z</dc:date>
    <item>
      <title>Depreciation margin Curve in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Depreciation-margin-Curve-in-a-Line-Chart/m-p/933650#M651517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Line chart in which my expression is :&lt;/P&gt;&lt;P&gt;Aggr (Sum (FN1),[Day/Month/Year],FN2)&lt;/P&gt;&lt;P&gt;Where FN1 = the quantity vale,&amp;nbsp; FN2= type of product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.I am require to present the &lt;SPAN lang="en"&gt;Depreciation (how much waste I have in Qty and presented between the start point and the end point), as an additional line (expression) on the existing chart. In excel chart it is easy to add the linear line to a graphic chart, I am sure QV can make the same but HOW?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Depreciation&amp;nbsp; should simple show the &lt;SPAN lang="en"&gt;Depreciation margin Curve, the delta line.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Another optional solution will be to show, in the same daily qty input chart. a line which will present the material waste which mean the latest value minus the first value (for flexible periods according to the user selects line from date table&amp;nbsp; like , last year, last 14 months, last 3 weeks and so on - the qty input value is on a daily base). This delta, will show the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Depreciation margin , my product waist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;(My product is a liquid which evaporated in time).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Please Help&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Nir &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2015 11:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Depreciation-margin-Curve-in-a-Line-Chart/m-p/933650#M651517</guid>
      <dc:creator />
      <dc:date>2015-08-30T11:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Depreciation margin Curve in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Depreciation-margin-Curve-in-a-Line-Chart/m-p/933651#M651518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for starters, I'm not too sure why do you need to use AGGR() in your calculation. If both Day/Month/Year and FN2 are your chart dimensions, then AGGR() is redundant. If they are not, then you need to apply another aggregation function, such as sum(), on top of the AGGR().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards to your questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- You add another Line to the line Chart by adding another Expression.&lt;/P&gt;&lt;P&gt;- In order to calculate differences in quantities between the "current" value, the previous value and/or the first (or last) value in the chart, you can use functions Above(), Below(), Top(), and Bottom(). Check out the Help Article "Chart Inter Record Functions".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=HEF4KYLLE22XIQH2"&gt;QlikView Your Business: An expert guide to Business Discovery with QlikView and Qlik Sense&lt;/A&gt;&lt;IMG alt="" border="0" height="1" src="http://ir-na.amazon-adsystem.com/e/ir?t=natursyner0f-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=1118949552" style="border: none !important; margin: 0px !important;" width="1" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2015 22:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Depreciation-margin-Curve-in-a-Line-Chart/m-p/933651#M651518</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-08-30T22:45:42Z</dc:date>
    </item>
  </channel>
</rss>

