<?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 deviation between two lines in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/deviation-between-two-lines/m-p/500082#M186862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to get the deviation between two lines in a chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calcul would be like a standard deviation calcul ( sum for each dimension value of (line2-line1)^2 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that one of my line is calculated with a recursive forumla (the expression uses the above() function).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My chart is would look like this : &lt;/P&gt;&lt;P&gt;- dimension : number&lt;/P&gt;&lt;P&gt;- expression 1 : sum(value)&lt;/P&gt;&lt;P&gt;- expression 2 called&amp;nbsp; Exp_smooth :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0433ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;number&lt;/SPAN&gt;=&lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;alpha&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;*&lt;SPAN style="color: #0433ff;"&gt;above&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;value&lt;/SPAN&gt;)) +&amp;nbsp; (1-&lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;alpha&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;)*&lt;SPAN style="color: #0433ff;"&gt;above&lt;/SPAN&gt;(Exp_smooth)&lt;BR /&gt; ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the standard deviation between to lines&lt;/P&gt;&lt;P&gt;(so I can ajust the alpha parameter in order to minimize the difference between the two expressions)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't care if my deviation is in a textbox or an expression in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find an example qvw attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks for your input !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Dec 2013 10:51:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-18T10:51:07Z</dc:date>
    <item>
      <title>deviation between two lines</title>
      <link>https://community.qlik.com/t5/QlikView/deviation-between-two-lines/m-p/500082#M186862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to get the deviation between two lines in a chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calcul would be like a standard deviation calcul ( sum for each dimension value of (line2-line1)^2 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that one of my line is calculated with a recursive forumla (the expression uses the above() function).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My chart is would look like this : &lt;/P&gt;&lt;P&gt;- dimension : number&lt;/P&gt;&lt;P&gt;- expression 1 : sum(value)&lt;/P&gt;&lt;P&gt;- expression 2 called&amp;nbsp; Exp_smooth :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0433ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;number&lt;/SPAN&gt;=&lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;alpha&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;*&lt;SPAN style="color: #0433ff;"&gt;above&lt;/SPAN&gt;(&lt;SPAN style="color: #0433ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #941100;"&gt;value&lt;/SPAN&gt;)) +&amp;nbsp; (1-&lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;alpha&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;)*&lt;SPAN style="color: #0433ff;"&gt;above&lt;/SPAN&gt;(Exp_smooth)&lt;BR /&gt; ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the standard deviation between to lines&lt;/P&gt;&lt;P&gt;(so I can ajust the alpha parameter in order to minimize the difference between the two expressions)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't care if my deviation is in a textbox or an expression in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find an example qvw attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks for your input !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 10:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/deviation-between-two-lines/m-p/500082#M186862</guid>
      <dc:creator />
      <dc:date>2013-12-18T10:51:07Z</dc:date>
    </item>
  </channel>
</rss>

