Symptom
- In existing SAC add-in workbooks, after switching an analytic model (based on a fact view) to use associated dimension for an attribute, the previously used dimension remains and cannot be removed.
- The updated associated dimension can be added, resulting in both the old (unremovable) and the new dimension being present in the reports.
- The behavior can also occur when simply toggling the “use associated dimension” option on/off, without changing the underlying association/attribute.
- The issue requires reports to be recreated, which is time-consuming and involves manual effort.
Environment
- SAP Analytics Cloud
- SAP Analytics Cloud, add-in for Microsoft Excel
Reproducing the Issue
- In datasphere, prepare an analytic model on a fact view where a dimension attribute has an association; keep “use associated dimension” set to off.
- In SAC add-in, create a workbook based on this model and add the relevant dimensions; save and close the workbook.
- In datasphere, enable “use associated dimension” for the attribute (or change the association/attributes as needed) and deploy the model.
- Reopen the workbook in SAC add-in.
- Observe that the old dimension persists and cannot be removed, while adding the same dimension inserts the updated associated dimension alongside it.
Cause
- When an association is enabled for a dimension in Datasphere, the dimension's technical name changes (for example, "CustomerNumber" becomes "_CustomerNumber").
- Although it appears to be the same dimension to end users, these are technically two distinct objects. This mismatch causes the behavior issue in the Add-In.
Resolution
- This is currently by design in SAC Add-in.
- When an association is enabled for a dimension in Datasphere, the dimension's technical name changes, therefore SAC Add-in treats it as a different object.
- Workaround: before changing associations/attributes or enabling “use associated dimension” in the datasphere model, open each affected SAC add-in workbook.
-
- Remove the impacted dimension from all tables in the workbook.
- Save the workbook and close excel.
- Apply and deploy the changes in datasphere (association/attribute updates or toggling “use associated dimension”).
- Reopen the workbook in sac excel add-in and add the dimension back to the tables as needed.
- If the workbook still shows the old dimension and it cannot be removed, recreate the table in the workbook.
See Also
KBA 3512668 - sac excel add-in: "a measure does not exist anymore" after measure deletion in datasphere
Keywords
sac excel add-in, datasphere, analytic model, fact view, use associated dimension, ghost dimension, dimension cannot be removed, replace dimension, association, attribute, excel desktop, windows, table rebuild, re-create report, dimension persistence, model change not recognized , KBA , LOD-ANA-OF-XLA , SAP Analytics Cloud, add-in for Microsoft Office , DS-DI-CON , Connections , Product Enhancement
Product
SAP Analytics Cloud all versions ; SAP Analytics Cloud, add-in for Microsoft Office all versions
SAP Knowledge Base Article - Public