Hi Glen,
One very basic question. Could you run your statement mentioned in the SQL Calc view directly in SQL editor successfully.
Second thing, when you mentioned AV (AT_VIEW) is that an ATTRIBUTE VIEW or ANALYTIC VIEW.
Can you please provide some details (screenshots) of the view AT_VIEW.
Regards,
Ravi