<?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 grouping in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linest-grouping/m-p/3223167#M117923</link>
    <description>&lt;P&gt;is it possible to return multiple rows back from a linestx function?&amp;nbsp; Running one regression model at a time is not good enough as I need to have a line chart with a legend showing multiple lines at the same time&lt;/P&gt;</description>
    <pubDate>Sat, 06 May 2023 10:22:55 GMT</pubDate>
    <dc:creator>jshumaker</dc:creator>
    <dc:date>2023-05-06T10:22:55Z</dc:date>
    <item>
      <title>linest grouping</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linest-grouping/m-p/3223167#M117923</link>
      <description>&lt;P&gt;is it possible to return multiple rows back from a linestx function?&amp;nbsp; Running one regression model at a time is not good enough as I need to have a line chart with a legend showing multiple lines at the same time&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 10:22:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linest-grouping/m-p/3223167#M117923</guid>
      <dc:creator>jshumaker</dc:creator>
      <dc:date>2023-05-06T10:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: linest grouping</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linest-grouping/m-p/3223184#M117924</link>
      <description>&lt;P&gt;The LINESTX function itself always returns a single row, containing the result of a single least squares regression.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if you placed a particular column as the legend of a line chart, a measure that used LINESTX would carry out the regression for each value of that column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you give some more detail on how you would want your visual to work along with sample data?&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 11:44:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linest-grouping/m-p/3223184#M117924</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2023-05-06T11:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: linest grouping</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linest-grouping/m-p/3223201#M117927</link>
      <description>&lt;P&gt;here is my matrix of the data that I want to run a regression model on and a line chart of the actual values&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 12:36:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linest-grouping/m-p/3223201#M117927</guid>
      <dc:creator>jshumaker</dc:creator>
      <dc:date>2023-05-06T12:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: linest grouping</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linest-grouping/m-p/3245332#M119525</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="556565" data-lia-user-login="jshumaker" class="lia-mention lia-mention-user"&gt;jshumaker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies - I was sidetracked and didn't respond to your reply!&lt;/P&gt;
&lt;P&gt;You have likely resolved this since your last post!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had a play around in any case. (My regression measure is probably not identical to yours)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The built-in line chart can't display two measures if a legend is included, but I created a line chart showing the y Estimate (bottom chart).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also use the built-in trend line regression, which should give the same result (top chart).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully this is useful if you are still looking at this.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 11:20:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linest-grouping/m-p/3245332#M119525</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2023-05-20T11:20:15Z</dc:date>
    </item>
  </channel>
</rss>

