avgOver(ifelse({date} >= addDateTime(-7,‘DD’, now()) AND {date}<= now(), {sales} ,null),[{Product_name}])
Trying to get the average sales for a product for the past one week.
If I try to save it, it says - “we encountered an error trying to save your calculated field. please try creating it again”
I tried creating a new field and typed the formula again but the error isn’t resolved.
Is there anything wrong in the calculated field? or it’s some other issue?