Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Excel linear forecast function equivalent to DAX

Hello everybody!

I would like to replicate the Excel function "linear forecast" on a DAX metric. I have searched for documentation on how the metric works and found this formula:

 

 

I have replicated this formula on a DAX metric but it does not predict me the value for the last period, it just gives me the HIT RATIO value in that period.

 

 

Would anyone know how to calculate it?

 

Thanks in advance.

Best regards

4 Replies