<?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: Rolling correlations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124970#M601457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the replies. Please find attached an example time series with 2 stocks in there (it's not for the image above as that was just a screenshot from an app where I'd seen this being done). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2018 04:36:15 GMT</pubDate>
    <dc:creator>m_monfort</dc:creator>
    <dc:date>2018-10-23T04:36:15Z</dc:date>
    <item>
      <title>Rolling correlations</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124967#M601454</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 wanted to know if it is possible to do a rolling correlations chart like that which is available on the financial app Koyfin? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a screenshot where AAPL (Apple) has been chosen to be compared with SPY (S&amp;amp;P 500 index). The bottom line chart is the time series of daily share price for both but the chart above is a rolling correlation chart with a look back period (N) of 21 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to know if there was a way to do something like this on time series data in QlikView or Qlik Sense so that you can choose N amount of look back days? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help - thank you!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Koyfin correlations.PNG" class="jive-image image-1" src="/legacyfs/online/216447_Koyfin correlations.PNG" style="height: 256px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 12:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124967#M601454</guid>
      <dc:creator>m_monfort</dc:creator>
      <dc:date>2018-10-22T12:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling correlations</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124968#M601455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hard to define without seeing your exact data, but using RangeSum() and Above() is a good bet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg(RangeSum(Above(Sum(YourValue),0,vDaysToAverage))) Should work, where YourValue is the value you are calculating and vDaysToAverage is over how many days the average is for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 13:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124968#M601455</guid>
      <dc:creator>niclaz79</dc:creator>
      <dc:date>2018-10-22T13:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling correlations</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124969#M601456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post some sample data and your expected result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 19:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124969#M601456</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-10-22T19:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling correlations</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124970#M601457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the replies. Please find attached an example time series with 2 stocks in there (it's not for the image above as that was just a screenshot from an app where I'd seen this being done). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 04:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124970#M601457</guid>
      <dc:creator>m_monfort</dc:creator>
      <dc:date>2018-10-23T04:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling correlations</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124971#M601458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe you could use an expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15403329017244182" jivemacro_uid="_15403329017244182"&gt;
&lt;P&gt;RangeCorrel(Above([Stock 1],0,21),Above([Stock 2],0,21))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 22:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124971#M601458</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-10-23T22:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling correlations</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124972#M601459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone - the RangeCorrel works a treat. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 10:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-correlations/m-p/124972#M601459</guid>
      <dc:creator>m_monfort</dc:creator>
      <dc:date>2018-10-24T10:39:29Z</dc:date>
    </item>
  </channel>
</rss>

