Your model is probably JSON instead of OData, because of this line of code:
oModel.setData({modelData: data});
The API for AnalyticalTable clearly states:
Table which handles analytical OData backends
Your model is probably JSON instead of OData, because of this line of code:
oModel.setData({modelData: data});
The API for AnalyticalTable clearly states:
Table which handles analytical OData backends