<?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 Rolling Linest_m function for time series analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rolling-Linest-m-function-for-time-series-analysis/m-p/1738893#M64063</link>
    <description>&lt;P&gt;Hello new here.&amp;nbsp; I am running into an issue with a unique ask.&amp;nbsp; I am trying to get a table that has a rolling linest_m for the past n days (lets say 5 for now) to help with smoothing a graph.&amp;nbsp; Right now I have:&lt;/P&gt;&lt;P&gt;linest_m(aggr((sum([38_1_1])+sum([38_2_1])+sum([38_3_1]))/(sum([35_1_1])+sum([35_2_1])+sum([35_3_1])), YYYYMMDD), YYYYMMDD)&lt;/P&gt;&lt;P&gt;The term&amp;nbsp;(sum([38_1_1])+sum([38_2_1])+sum([38_3_1]))/(sum([35_1_1])+sum([35_2_1])+sum([35_3_1]) is one of our metrics.&amp;nbsp; This code works if I change the datefield on the table to a weekly or monthly basis; however, it only gives the regression for that week or month.&amp;nbsp; I am looking to have a daily regression that includes that day and the previous n days.&amp;nbsp; I have tried using the above function to no avail (could be using it incorrectly).&lt;/P&gt;&lt;P&gt;Ultimately looking to plot this in a graph.&amp;nbsp; Thanks for your help.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 18:11:04 GMT</pubDate>
    <dc:creator>Loghry14</dc:creator>
    <dc:date>2024-11-16T18:11:04Z</dc:date>
    <item>
      <title>Rolling Linest_m function for time series analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Linest-m-function-for-time-series-analysis/m-p/1738893#M64063</link>
      <description>&lt;P&gt;Hello new here.&amp;nbsp; I am running into an issue with a unique ask.&amp;nbsp; I am trying to get a table that has a rolling linest_m for the past n days (lets say 5 for now) to help with smoothing a graph.&amp;nbsp; Right now I have:&lt;/P&gt;&lt;P&gt;linest_m(aggr((sum([38_1_1])+sum([38_2_1])+sum([38_3_1]))/(sum([35_1_1])+sum([35_2_1])+sum([35_3_1])), YYYYMMDD), YYYYMMDD)&lt;/P&gt;&lt;P&gt;The term&amp;nbsp;(sum([38_1_1])+sum([38_2_1])+sum([38_3_1]))/(sum([35_1_1])+sum([35_2_1])+sum([35_3_1]) is one of our metrics.&amp;nbsp; This code works if I change the datefield on the table to a weekly or monthly basis; however, it only gives the regression for that week or month.&amp;nbsp; I am looking to have a daily regression that includes that day and the previous n days.&amp;nbsp; I have tried using the above function to no avail (could be using it incorrectly).&lt;/P&gt;&lt;P&gt;Ultimately looking to plot this in a graph.&amp;nbsp; Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Linest-m-function-for-time-series-analysis/m-p/1738893#M64063</guid>
      <dc:creator>Loghry14</dc:creator>
      <dc:date>2024-11-16T18:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Linest_m function for time series analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Linest-m-function-for-time-series-analysis/m-p/1738952#M64064</link>
      <description>&lt;P&gt;Would you be able to provide a sample and the output you expect to see from it?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 19:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Linest-m-function-for-time-series-analysis/m-p/1738952#M64064</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-08-26T19:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Linest_m function for time series analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Linest-m-function-for-time-series-analysis/m-p/1738960#M64065</link>
      <description>&lt;P&gt;Hey Sunny.&amp;nbsp; I am attaching an excel file.&amp;nbsp; It is possible to do this in excel, but I like the ability to have the graphs made each day in Qlik Sense for others in our business to use for the time series.&amp;nbsp; The data is on the far left and I have done 3 different rolling linear regression series (one where n=5, n=10, and n=17)&amp;nbsp; You can see the graphs start to get smoother and that is what we want.&amp;nbsp; I can get the regression model in qlik sense from above; however, I can't get it to do a linear model on every 5 data points like I did in excel.&amp;nbsp; So what I am looking for is to get essentially what I have done in excel to run in Qlik sense if possible.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 20:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Linest-m-function-for-time-series-analysis/m-p/1738960#M64065</guid>
      <dc:creator>Loghry14</dc:creator>
      <dc:date>2020-08-26T20:31:08Z</dc:date>
    </item>
  </channel>
</rss>

