<?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: 1#INF linear regression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131431#M371864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clever,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result should be the linear regression of Pageviews over Date, so when I do that over one dimension (which is Date) everything is fine. But when I introduced the second dimension the numbers didn't correspond, so I figured that was because of the second dimension, in this case [SysKey]. So I changed the Aggr and Linest functions to accomodate that dimension, but this is my result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 783px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="239"&gt;SysKey&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;Date&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="98"&gt;2011-07-04&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="98"&gt;2011-07-05&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="98"&gt;2011-07-06&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="98"&gt;2011-07-07&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; Pageviews&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Hive|ADA - Aggr&lt;/TD&gt;&lt;TD class="xl68"&gt; &lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; Pageviews&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Hive|ADA - Aggr RTB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; Pageviews&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Hive|ADA - CL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; Pageviews&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Hive|ADA - CL RTB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; Pageviews&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Hive|ADA - RTB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jun 2016 12:45:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-06T12:45:34Z</dc:date>
    <item>
      <title>1#INF linear regression</title>
      <link>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131429#M371862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently busy with some linest_m and linest_b expressions, but they're giving some strange output. This is the current expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; alt(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Slope&lt;/P&gt;&lt;P&gt;&amp;nbsp; LINEST_M(TOTAL &amp;lt;[SysKey]&amp;gt; {&amp;lt;Date={"&amp;gt;=$(vAlert.Min)&amp;lt;=$(vAlert.Max)"}, [&lt;SPAN style="font-size: 13.3333px;"&gt;Pageviews&lt;/SPAN&gt;]={'&amp;gt;0'}, Flag={0}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum({&amp;lt;Date={"&amp;gt;=$(vAlert.Min)&amp;lt;=$(vAlert.Max)"}, Flag={0}&amp;gt;}[&lt;SPAN style="font-size: 13.3333px;"&gt;Pageviews&lt;/SPAN&gt;]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date, [SysKey]&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date, [SysKey]&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp; Only({&amp;lt;Date={"&amp;gt;=$(vAlert.Min)&amp;lt;=$(vAlert.Max)"}, Flag={0}&amp;gt;}Date)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; +&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Offset&lt;/P&gt;&lt;P&gt;&amp;nbsp; LINEST_B(TOTAL &amp;lt;[SysKey]&amp;gt; {&amp;lt;Date={"&amp;gt;=$(vAlert.Date.Min)&amp;lt;=$(vAlert.Date.Max)"}, [&lt;SPAN style="font-size: 13.3333px;"&gt;Pageviews&lt;/SPAN&gt;]={'&amp;gt;0'}, Flag={0}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum({&amp;lt;Date={"&amp;gt;=$(vAlert.Min)&amp;lt;=$(vAlert.Max)"}, Flag={0}&amp;gt;} [Pageviews]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,0)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried more or less the same expression in QlikView with a single dimension it worked without issues, but with the added second dimension it's now returning '1 #INF'. Does anybody have an idea why this happens?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 09:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131429#M371862</guid>
      <dc:creator />
      <dc:date>2016-06-06T09:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: 1#INF linear regression</title>
      <link>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131430#M371863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you have more than one dimension, your expression will be evaluated for each distinct combination of Dim1, Dim2,...Dimn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe your expression should be rewritten using L&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INEST_M(TOTAL &amp;lt;[System Key], [Other Dimension]&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 12:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131430#M371863</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-06-06T12:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: 1#INF linear regression</title>
      <link>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131431#M371864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clever,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result should be the linear regression of Pageviews over Date, so when I do that over one dimension (which is Date) everything is fine. But when I introduced the second dimension the numbers didn't correspond, so I figured that was because of the second dimension, in this case [SysKey]. So I changed the Aggr and Linest functions to accomodate that dimension, but this is my result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 783px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="239"&gt;SysKey&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;Date&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="98"&gt;2011-07-04&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="98"&gt;2011-07-05&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="98"&gt;2011-07-06&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="98"&gt;2011-07-07&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; Pageviews&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Hive|ADA - Aggr&lt;/TD&gt;&lt;TD class="xl68"&gt; &lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; Pageviews&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Hive|ADA - Aggr RTB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; Pageviews&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Hive|ADA - CL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; Pageviews&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Hive|ADA - CL RTB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt; Pageviews&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Hive|ADA - RTB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;-1,#IND&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 12:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131431#M371864</guid>
      <dc:creator />
      <dc:date>2016-06-06T12:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: 1#INF linear regression</title>
      <link>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131432#M371865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you mind sharing a sample of your app?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 13:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131432#M371865</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-06-06T13:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: 1#INF linear regression</title>
      <link>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131433#M371866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks for the link Clever!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This is a sample of the application I'm trying to build. I'm trying to identify points in a dataset where a metric falls outside of a certain bandwith, in this case a metric like Revenue compared to it's average or linear regression line and a bandwith of +/- times it's standard deviation. the comparison to the average works, but getting a correct output in the orange heatmap doesn't work with linear regression. That's why I'm trying to rewrite my linear regression expression to work with the field [System Key].&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="screenshor_2016-06-06.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127070_screenshor_2016-06-06.PNG" style="height: 306px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I'm trying to get a true or false output in the orange heatmap in a similar way this line chart identifies points that fall outside of the visible bandwith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 09:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131433#M371866</guid>
      <dc:creator />
      <dc:date>2016-06-07T09:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: 1#INF linear regression</title>
      <link>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131434#M371867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should I check the last expression, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 11:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131434#M371867</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-06-08T11:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: 1#INF linear regression</title>
      <link>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131435#M371868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clever! I'm looking for the right expression under the variable $(eAlert.KPI.LR.SysKey(Revenue)).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 11:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131435#M371868</guid>
      <dc:creator />
      <dc:date>2016-06-08T11:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: 1#INF linear regression</title>
      <link>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131436#M371869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checking the linest_b/m &lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/StatisticalAggregationFunctions/linest_m.htm"&gt;documentation &lt;/A&gt;and your expression&lt;/P&gt;&lt;P&gt;LINEST_B(TOTAL &amp;lt;[System Key]&amp;gt; {&amp;lt;Date={"&amp;gt;=$(vAlert.Date.Min)&amp;lt;=$(vAlert.Date.Max)"}, [$1]={'&amp;gt;0'}, _RAFlag={0}, [Reload ID]={"$(=MaxString([Reload ID]))"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum({&amp;lt;Date={"&amp;gt;=$(vAlert.Date.Min)&amp;lt;=$(vAlert.Date.Max)"}, _RAFlag={0}, [Reload ID]={"$(=MaxString([Reload ID]))"}&amp;gt;} [$1]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date, [System Key]&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date&lt;SPAN style="text-decoration: line-through;"&gt;, [System Key]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could see that the function expects a pair of lists (y-value, aggr in your case&amp;nbsp; and x-value, date in your case). The 3rd and 4rd values can´t be a list, they are supposed to be atomic values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 12:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131436#M371869</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-06-08T12:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: 1#INF linear regression</title>
      <link>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131437#M371870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Clever!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just started using linest functions so I already was wondering why my expression didn't work, but you're explanation clarifies it. I finally got it working! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 12:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131437#M371870</guid>
      <dc:creator />
      <dc:date>2016-06-08T12:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: 1#INF linear regression</title>
      <link>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131438#M371871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to read that, Maarten!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 13:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-INF-linear-regression/m-p/1131438#M371871</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-06-08T13:18:01Z</dc:date>
    </item>
  </channel>
</rss>

