SAP Knowledge Base Article - Public

2913927 - How to Bring the Absolute Value of a Key Figure

Symptom

There is a business requirement to create a custom key figure that shows the distance of a number from zero and it should also ignore negative values.

Environment

  • SAP Business ByDesign
  • SAP Cloud for Customer

Resolution

ABS is a mathematical operator that brings the absolute value of a number. It will show you the distance of a number on the line from zero and it will not considerate if the value is negative, meaning, if you have a key figure with the value -246, its absolute value will be 246. It means that the same value will be shown but without its sign.

Example: ABS[KeyFigyure]

Keywords

keyfigures, keyfigure, key figure, ABS, absolutevalue, absolute value , KBA , AP-RC-ANA , C4C, ByD, Travel: Analytics Tools & Frameworks , How To

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions