Dear Ben,
For an analytic view or calculation view you need to specify "aggregates always" and the type of aggregation to be done in the odata service. Please see below example
service {
"_SYS_BIC"."package_name/analytic_view_name" as "ENTITY_NAME" keys ("KEY_FIELD_1", "KEY_FIELD_2") aggregates always (SUM of "MEASURE");
}
I wasn't able to get it to work with just "aggregates always", I needed to specify (SUM of "MEASURE") in order for it to work.
I think you can specify different types of aggregations for different measures similar to how you specify different key fields, but I haven't tried with an analytic view that has more than 1 measure yet. Hope this helps.
Kind Regards,
Sharan Chama