<?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: Linear Regression (LINEST, LINESTX) possible for serial number and value? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3420876#M129490</link>
    <description>&lt;P&gt;Maybe my fault to explain correctly. I want to have a trendline, from beginning of the shown data till the end of the shown data. The data itself are like temperature data, but instead of the date, you have a serial number. so my thoughts. For my understanding, you can do a trend also with temperature and time data, so it should work also for my kind of data or?&lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2023 06:01:44 GMT</pubDate>
    <dc:creator>cousinitt13</dc:creator>
    <dc:date>2023-09-08T06:01:44Z</dc:date>
    <item>
      <title>Linear Regression (LINEST, LINESTX) possible for serial number and value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3415821#M129234</link>
      <description>&lt;P&gt;Hallo,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'd like to to a trend or linear regression by grouped by Variable, see example below.&lt;BR /&gt;my problem is, that my linear regression value looks exactly the same as the values itself, how this can happen?&amp;nbsp;&lt;BR /&gt;hope for help cause I'm struggling since days.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;SerialNumber&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Variable&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;101&lt;/TD&gt;&lt;TD&gt;thickness&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;102&lt;/TD&gt;&lt;TD&gt;wight&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;102&lt;/TD&gt;&lt;TD&gt;thickness&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 14:05:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3415821#M129234</guid>
      <dc:creator>cousinitt13</dc:creator>
      <dc:date>2023-09-05T14:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linear Regression (LINEST, LINESTX) possible for serial number and value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3416810#M129304</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;cousinitt13,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I guess that you have already found this article:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/implementing-linear-regression-in-power-bi/" target="_blank"&gt;Implementing linear regression in Power BI - SQLBI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 03:22:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3416810#M129304</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2023-09-06T03:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linear Regression (LINEST, LINESTX) possible for serial number and value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3417054#M129315</link>
      <description>&lt;P&gt;Hi Sakiko,&amp;nbsp;&lt;BR /&gt;Yes, I have. This is not working for me. I get the same linear regression values like the values itself. no average line.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 06:52:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3417054#M129315</guid>
      <dc:creator>cousinitt13</dc:creator>
      <dc:date>2023-09-06T06:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Linear Regression (LINEST, LINESTX) possible for serial number and value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3417496#M129332</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="233589" data-lia-user-login="cousinitt13" class="lia-mention lia-mention-user"&gt;cousinitt13&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copied and pasted that formula in the article and subsituted with your field and amount, and I am thinking the reason of the error could be because the x-axis is a text type which begins with 0.&amp;nbsp; I think in order to express the correlation between x-and y-axis, both have to be numerical values.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 10:35:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3417496#M129332</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2023-09-06T10:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Linear Regression (LINEST, LINESTX) possible for serial number and value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3419239#M129420</link>
      <description>&lt;P&gt;Hi Sakiko,&amp;nbsp;&lt;BR /&gt;Thanks for the feedback, the trendline from the chart is now available, but my measure is still wrong.&lt;BR /&gt;I've created a calculated table now, where I have all filtered information from the basic table,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;LinTable = &lt;/SPAN&gt;&lt;SPAN&gt; &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUMMARIZE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;KeepFilters&lt;/SPAN&gt;&lt;SPAN&gt;(Quality_DEAT),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Quality_DEAT[ProductCode],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Quality_DEAT[VariableName],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Quality_DEAT[EventNumber_ID], &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Quality_DEAT[ResultonLocal],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"Result"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;AVERAGE&lt;/SPAN&gt;&lt;SPAN&gt;(Quality_DEAT[Result]))&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;and the calculated measure&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;LinearRegression Value =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;linreg&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;LINESTX&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;KEEPFILTERS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;LinTable&lt;/SPAN&gt;&lt;SPAN&gt;), &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;AVERAGE&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SP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; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;y&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt; * &lt;/SPAN&gt;&lt;SPAN&gt;slope&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;intercept&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;y&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;and still getting value = linearregression value&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Roman&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 08:27:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3419239#M129420</guid>
      <dc:creator>cousinitt13</dc:creator>
      <dc:date>2023-09-07T08:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Linear Regression (LINEST, LINESTX) possible for serial number and value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3419786#M129443</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="233589" data-lia-user-login="cousinitt13" class="lia-mention lia-mention-user"&gt;cousinitt13&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My visualization also comes out like yours in a zigzag manner, and not liner. BTW, are you trying to visualize the correlation between the result amount and event ID number?&amp;nbsp; As event ID is only an identifier, I guess there is no meaningful correlation between the two variables.&amp;nbsp; I am guessing that you need to do this regression analysis for variables which have correlation between each other for it to work.&amp;nbsp; Please let me know if I am misunderstanding the objective of this task.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 13:39:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3419786#M129443</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2023-09-07T13:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Linear Regression (LINEST, LINESTX) possible for serial number and value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3420876#M129490</link>
      <description>&lt;P&gt;Maybe my fault to explain correctly. I want to have a trendline, from beginning of the shown data till the end of the shown data. The data itself are like temperature data, but instead of the date, you have a serial number. so my thoughts. For my understanding, you can do a trend also with temperature and time data, so it should work also for my kind of data or?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 06:01:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3420876#M129490</guid>
      <dc:creator>cousinitt13</dc:creator>
      <dc:date>2023-09-08T06:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linear Regression (LINEST, LINESTX) possible for serial number and value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3420913#M129495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="233589" data-lia-user-login="cousinitt13" class="lia-mention lia-mention-user"&gt;cousinitt13&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, I think so.&amp;nbsp; It sounds like a time series analysis using time as independent variable.&amp;nbsp; Instead of ID, what about using time dimension as your independent variable?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 06:30:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Linear-Regression-LINEST-LINESTX-possible-for-serial-number-and/m-p/3420913#M129495</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2023-09-08T06:30:33Z</dc:date>
    </item>
  </channel>
</rss>

