Error: Database error:$.hbd.Connection.executeUpdate
SAP Analytics Cloud displays "Database error:$.hbd.Connection.executeUpdate: Parameter at position 1, batch element 1, value at position 1 is undefined which is not allowed
Reproducing the Issue
- Login to SAP Analytics Cloud.
- Choose from the main menu.
- Select a previously created dimension.
- Add a new dimension member formula that contains a dimension variable defined in the model the dimension belongs to.
- Select Save.
- Notice that the Database error message appears.
Cause
-
You will not be able to reference a model variable in a standalone dimension because variables are model-specific.
-
Model variables can only be referenced when you open the dimension within the specific model that the variable is defined in.
Resolution
- The dimension member formula that contains the model variable must be added to the dimension within the area.