BeastMode Lead Function Doesn't Exist - Rolling Average
Hey guys, so I'm trying to apply this concept to my dataset, but when I tried to apply it I received the error, " Invalid Formula : This calculation is using a nonexistent function."
Apparently, the lead function doesn't exist in the BeastMode library but it did when this video was created.
Did I do something wrong or is this a bug?
My data is not hardcoded.. I think.
lead(sum(`video_plays`)) over(order by YEAR(`date`) * 100 + WEEKOFYEAR(`date`))