Forum Discussion

jshumaker's avatar
jshumaker
Frequent Visitor
3 years ago
Solved

linestx

I am confused how the LINESTX function works within a group.  The first screen shot is of a matrix showing that there is only 1 k1 record for any given l0 group.  The second screen shot is of a matri...
  • tamerj1's avatar
    3 years ago

    Hi jshumaker 

    please try

    r2_fk01 =
    VAR l =
    LINESTX ( 'fk01 mx', [max pct], [k1] )
    RETURN
    AVERAGEX ( l, [CoefficientOfDetermination] )