Can a calculation use attributes of a related resource? - Ash Framework