<?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: linestx in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linestx/m-p/3234307#M118813</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&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;please try&lt;/P&gt;
&lt;P&gt;r2_fk01 =&lt;BR /&gt;VAR l =&lt;BR /&gt;LINESTX ( 'fk01 mx', [max pct], [k1] )&lt;BR /&gt;RETURN&lt;BR /&gt;AVERAGEX ( l, [CoefficientOfDetermination] )&lt;/P&gt;</description>
    <pubDate>Sun, 14 May 2023 15:21:36 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-05-14T15:21:36Z</dc:date>
    <item>
      <title>linestx</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linestx/m-p/3234296#M118812</link>
      <description>&lt;P&gt;I am confused how the LINESTX function works within a group.&amp;nbsp; The first screen shot is of a matrix showing that there is only 1 k1 record for any given l0 group.&amp;nbsp; The second screen shot is of a matrix where I am trying to display the LINESTX column of R2 (DAX formula below).&amp;nbsp; The second matrix only has l0 as part of the row group and therefore should be providing the LINESTX function a unique value for the LINESTX x-value parameter of [k1].&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;r2_fk01 =&lt;BR /&gt;var l = LINESTX('fk01 mx',[max pct],[k1])&lt;BR /&gt;return SELECTCOLUMNS(l,[CoefficientOfDetermination])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 14:28:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linestx/m-p/3234296#M118812</guid>
      <dc:creator>jshumaker</dc:creator>
      <dc:date>2023-05-14T14:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: linestx</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linestx/m-p/3234307#M118813</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;please try&lt;/P&gt;
&lt;P&gt;r2_fk01 =&lt;BR /&gt;VAR l =&lt;BR /&gt;LINESTX ( 'fk01 mx', [max pct], [k1] )&lt;BR /&gt;RETURN&lt;BR /&gt;AVERAGEX ( l, [CoefficientOfDetermination] )&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 15:21:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/linestx/m-p/3234307#M118813</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-14T15:21:36Z</dc:date>
    </item>
  </channel>
</rss>

