Forum Discussion
rampsaladi
8 years agoFrequent Visitor
Creating Co-variance using DAX
Hi Can anyone help me in getting the covariance statistics function using dax. The following is an example series. A B 1 11 2 12 3 13 4 14 5 15 6 16 7 17 8 18 ...
- 8 years ago
OK, I created a Quick Measure gallery entry here if you want to follow-up on this:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Covariance/m-p/379069#M115
rampsaladi
8 years agoFrequent Visitor
Greg_Deckler Thanks for looking it up quickly, I know there is a Covariance function in Power Query but was not sure how to use it as I have never used the M and as far as the formula is concerend I got it from the below site.
http://mathworld.wolfram.com/Covariance.html
I do have the expected value for the co-variance so I will use the DAX that you provided and see how it matches up
Greg_Deckler
8 years agoCommunity Champion
OK, I created a Quick Measure gallery entry here if you want to follow-up on this:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Covariance/m-p/379069#M115