I\'m trying to add a DAX measure for R^2 in PowerPivot. I saw the answer linked and my current code is as follows:
=CALCULATE( DIVIDE( SUMX( \'Table\'; (\'Tab