<?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 linest_m problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/linest-m-problem/m-p/663547#M241738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've an histogram chart.&lt;/P&gt;&lt;P&gt;The data I'm using are number of failure for month.&lt;/P&gt;&lt;P&gt;This is a simply example of data :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan: 1&lt;/P&gt;&lt;P&gt;Feb: null (no failure on Feb.)&lt;/P&gt;&lt;P&gt;Mar: 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the function:&lt;/P&gt;&lt;P&gt;=linest_m(aggr(sum(QryFailure), Month), aggr(QryFailure, Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the function return 1 because not consider the null value of Feb.&lt;/P&gt;&lt;P&gt;but I've 0 failure on Feb and then I expect a coefficient that considering the values 1, 0, 2.&lt;/P&gt;&lt;P&gt;the correct result is 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do to have the correct value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2014 10:32:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-06T10:32:51Z</dc:date>
    <item>
      <title>linest_m problem</title>
      <link>https://community.qlik.com/t5/QlikView/linest-m-problem/m-p/663547#M241738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've an histogram chart.&lt;/P&gt;&lt;P&gt;The data I'm using are number of failure for month.&lt;/P&gt;&lt;P&gt;This is a simply example of data :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan: 1&lt;/P&gt;&lt;P&gt;Feb: null (no failure on Feb.)&lt;/P&gt;&lt;P&gt;Mar: 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the function:&lt;/P&gt;&lt;P&gt;=linest_m(aggr(sum(QryFailure), Month), aggr(QryFailure, Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the function return 1 because not consider the null value of Feb.&lt;/P&gt;&lt;P&gt;but I've 0 failure on Feb and then I expect a coefficient that considering the values 1, 0, 2.&lt;/P&gt;&lt;P&gt;the correct result is 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do to have the correct value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 10:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/linest-m-problem/m-p/663547#M241738</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-06T10:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: linest_m problem</title>
      <link>https://community.qlik.com/t5/QlikView/linest-m-problem/m-p/663548#M241739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you solve this problem? i´m facing the same problem right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2014 09:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/linest-m-problem/m-p/663548#M241739</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2014-12-06T09:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: linest_m problem</title>
      <link>https://community.qlik.com/t5/QlikView/linest-m-problem/m-p/663549#M241740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solve this problem with a new import select.&lt;/P&gt;&lt;P&gt;In SQL select I create (with a union) a record for each month with the QtyFailure value to Zero.&lt;/P&gt;&lt;P&gt;The new recordset is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jan: 1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Feb: null (no failure on Feb.)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mar: 2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jan: 0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Feb: 0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mar: 0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;now the linest_m function return the right value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 13:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/linest-m-problem/m-p/663549#M241740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-10T13:14:33Z</dc:date>
    </item>
  </channel>
</rss>

