DIVIDE

The DIVIDE function returns the result of dividing one number by another. It takes a numerator and a denominator as inputs and performs the division operation. This function is commonly used in calculations involving ratios, percentages, averages, and other mathematical operations where one value needs to be divided by another.

Syntax

DIVIDE(Numerator, Denominator, Alternate)

Arguments

  • Numerator: The value to be divided.
  • Denominator: The value by which the numerator is divided.
  • Alternate (Optional): The value to return if the division results in an error. If the denominator is null and no alternate value is specified, the function returns a #VALUE!/0 error.

Return value

Returns the result of dividing the numerator by the denominator.

Example

DIVIDE(Sales, Sales_Plan, 0)

In this example, the DIVIDE function is used to create the Sales Achievement % measure, which returns the result of dividing Sales (numerator) by Sales_Plan (denominator). If the denominator is 0 or the division results in an error, the function returns 0.

Enterprise planning, Integrated with PowerTable and Intelligence, native to Microsoft Fabric. Co Engineered with Lumel.
BUILT ON