Symptom
While trying to delete a model, the following alert is displayed and it does not allow the model to be deleted:
- The selected file is used by other files and cannot be deleted.
The listed files have no relation to the model.
Environment
SAP Analytics Cloud (Enterprise) 2024.2.21
Reproducing the Issue
- Logon to SAP Analytics Cloud.
- From the main menu, go to Files and search for the model you would like to delete.
- Select the model and click on the "Delete" icon.
- A window displays an Alert containing the message: "The selected file is used by other files and cannot be deleted.". It also lists the Data Actions files where the model is being used.
However, the displayed files have no relation to the model.
Cause
The issue happens when switching the default cube of a Data Action, especially for script steps that once had been started with visual formulas.
Resolution
- Create new script steps for each existing script step within the Data Actions listed.
- Copy the script-text over to the new script steps created and delete the old steps.
- Re-save the Data Action.
See Also
- 3448052 - Unable to delete model from SAP Analytics Cloud (SAC)
- 2487011 - What information do I need to provide when opening an incident for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Getting Started with SAP Analytics Cloud Expert Community page
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support or visit the solution finder today!
Keywords
SAP Analytics Cloud. SAC, Files, Model, Delete, Alert, not able, can not, Data Action, not possible, "The selected file is used by other files and cannot be deleted.", relation, related.
, KBA , LOD-ANA-PL-DA , Data Actions , ProblemProduct
SAP Analytics Cloud 1.0