Correlation coefficient
Thanks for the formula Daniil. I'm trying to use it to calculate the correlation coefficient on some data I have but I have hit an issue - I only have two columns of data, one showing the month name and one showing the volume (a measure).
I.e.
Month Volume
Jan-07 1,000
Feb-07 1,613
Mar-07 1,128
etc.
I don't have two measures as per your data nor do I have a column showing a 'category'. How would I be able to carry out the calculation for my data please? Do I need to create a new measure column based on the month name, coverting it into a numerical value? (just a guess). Then I would classify the month column as the 'category'?
Hope this is clear (still classing myself as a Power BI newbie!)
Regards,
Lee
PowerBI_77 please have a look at the second example in my Simple Linear Regression blog -- you can employ a similar technique here.
Also, in case people still read this -- acanepa said in a private message there "is not an error of the calculation you created but rather an error on my end to feed the formula with wrong numbers", so please ignore his comment about negative numbers.