SAP Knowledge Base Article - Public

3570130 - Unable to delete entries from column of a import job of model in SAP Analytics Cloud (SAC)

Symptom

The transformation to delete "false" value from a column using expression "contains", is not working correctly in Data Import option of Planning Model in SAC

Environment

SAP ANALYTICS CLOUD 2024.21.14

Reproducing the Issue

  1. Login to SAC
  2. Open a model
  3. Switch to Data Management workspace 
  4. Start an Import Job->Set up Import
  5. In "Prepare Data" view create an expression [Column1] = contains([Column2], "Value"]
  6. Try to delete the rows containing "false" from column "Column1".

    Note: The rows are not deleted even though success message is shown.

 

Cause

According to "Custom Expression Help", "contains" returns either 1 or 0, instead of "true" or "false"

Resolution

  1. Select the column "Column1" and click on "Create a Transformation".
  2. Select Filter
  3. Filter values in [Column1] not matching "0"

See Also

Keywords

SAP Analytics Cloud, SAC, import, expression, contains, data transformations , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem

Product

SAP Analytics Cloud 1.0