<?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 Make the following code for correlation work with missing points in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Make-the-following-code-for-correlation-work-with-missing-points/m-p/432434#M489829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is my code for determining correlation between 2 sets of points.&amp;nbsp; Do you know how I would get this expression to work when either one of the data points is missing for a dimension value?&amp;nbsp; It's the code for determining correlation between any two stocks and sometimes they arent traded on the same day and if this overlaps my selected time frame, I get no correlation line in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bottom&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rangecorrel&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: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Ticker&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;*=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Ticker3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/count({$&amp;lt;Ticker*=Ticker3&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;BR /&gt;&lt;BR /&gt;above(sum({$&amp;lt;Ticker*=Ticker3&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/count({$&amp;lt;Ticker*=Ticker3&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))-1),0,100),above((sum({$&amp;lt;Ticker*=Ticker2&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/count({$&amp;lt;Ticker*=Ticker2&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;BR /&gt;&lt;BR /&gt;above(sum({$&amp;lt;Ticker*=Ticker2&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/count({$&amp;lt;Ticker*=Ticker2&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))-1),0,100))) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2012 15:44:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-14T15:44:14Z</dc:date>
    <item>
      <title>Make the following code for correlation work with missing points</title>
      <link>https://community.qlik.com/t5/QlikView/Make-the-following-code-for-correlation-work-with-missing-points/m-p/432434#M489829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is my code for determining correlation between 2 sets of points.&amp;nbsp; Do you know how I would get this expression to work when either one of the data points is missing for a dimension value?&amp;nbsp; It's the code for determining correlation between any two stocks and sometimes they arent traded on the same day and if this overlaps my selected time frame, I get no correlation line in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bottom&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rangecorrel&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: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Ticker&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;*=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Ticker3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/count({$&amp;lt;Ticker*=Ticker3&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;BR /&gt;&lt;BR /&gt;above(sum({$&amp;lt;Ticker*=Ticker3&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/count({$&amp;lt;Ticker*=Ticker3&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))-1),0,100),above((sum({$&amp;lt;Ticker*=Ticker2&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/count({$&amp;lt;Ticker*=Ticker2&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;BR /&gt;&lt;BR /&gt;above(sum({$&amp;lt;Ticker*=Ticker2&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/count({$&amp;lt;Ticker*=Ticker2&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Adj. Close]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))-1),0,100))) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 15:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-the-following-code-for-correlation-work-with-missing-points/m-p/432434#M489829</guid>
      <dc:creator />
      <dc:date>2012-11-14T15:44:14Z</dc:date>
    </item>
  </channel>
</rss>

