{"ref":"capability:analytical-models","page":"/capabilities/analytical-models","json":"/capabilities/analytical-models.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"analytical-models","name":"Analytical models","domain":"protocols-and-apis","ecosystems":["cap"],"universal":false,"description":"Marking up a CDS model so an analytical front end can read it as a cube rather than as a list of rows, and serving it over the protocol that front end speaks. Separate from [Analytical queries](capability:analytical-queries), which is the query shape an OData client issues against the same service: here the question is what the service declares itself to be.","short":"Marking up a CDS model so an analytical front end reads it as a cube","core_coverage":{"state":"core-only","assessed_at":"2026-09-20","what_core_does":"SAP publishes [@sap/cds-analytics](artifact:sap-cds-analytics) for this: a project adds the plugin, annotates its service views with `@protocol: 'ina'` and the `@ObjectModel` properties that mark a view an analytical cube, and the plugin serves them to SAP Analytics Cloud.","where_it_stops":"At the CAP side of the wire. The package documents the annotations a view carries, the dependency an `mtx/sidecar` needs in a multitenant project and a debug variable; what SAP Analytics Cloud is then modelled to do with the cube is not part of it.","note":"Assessed from the package's own npm entry rather than from capire: the CAP Plugins page lists nineteen plugins and this is not among them, so no page in the core documentation states an intent here.","sources":[{"url":"https://registry.npmjs.org/@sap/cds-analytics","title":"@sap/cds-analytics — npm registry document, README","checked":"2026-09-20","quote":"a CDS plugin that enhances the SAP Cloud Application Programming Model (CAP) with built-in support for embedded analytics"},{"url":"https://registry.npmjs.org/@sap/cds-analytics","title":"@sap/cds-analytics — npm registry document, Using the Plugin","checked":"2026-09-20","quote":"annotate your CDS service views with the required properties"},{"url":"https://cap.cloud.sap/docs/plugins/","title":"CAP Plugins — the plugin list, checked for an analytics entry","checked":"2026-09-20"}]},"drafted_with_ai":true},"sap_delivery":{"door":"cap","all":{"built_in":[],"documented_pattern":[],"announced":[],"packages":[{"ref":"artifact:sap-cds-analytics","name":"@sap/cds-analytics","json":"/artifacts/sap-cds-analytics.json"}]},"by_flavor":{"node":{"built_in":[],"documented_pattern":[],"announced":[],"packages":[{"ref":"artifact:sap-cds-analytics","name":"@sap/cds-analytics","json":"/artifacts/sap-cds-analytics.json"}]},"java":null}},"edges":{"use_cases":[],"shared_tasks":[],"related_tasks":[],"options":[{"ref":"artifact:sap-cds-analytics","name":"@sap/cds-analytics","json":"/artifacts/sap-cds-analytics.json","ecosystem":"cap","origin_ring":"sap-official"}],"samples":[],"explained_by":[],"normative_context":[]}}