Forum Discussion
Need Help on Autocorrelation Calculation
- 2 years ago
Here you go
Here you go
Hello lbendlin
that DAX is superb, thank you.
I dont know if there is a sumx offset at line 6 (maybe) as a "bridge" before sumx the whole result as in Line 8 (thought it can be done directly by using earlier indexing).
I need to work again on my DAX understanding as a beginner.
Again, thank you and really appreciate for the help.
- lbendlin2 years ago
Super User
As always you can approach the issue with different DAX functions but you will want to unlearn EARLIER and embrace the window functions. Makes the shifted reference so much easier.
- Irwan2 years ago
Super User
hello lbendlin
sorry in advance, i got another question, is it possible to put the measure (the correlation result) into a new column?
Thank you and appreciate for the help.
- lbendlin2 years ago
Super User
You cannot create columns from measures. You would need to modify the code to create a calculated column instead