GEOMEANX DAX Function (Statistical)
Returns geometric mean of an expression values in a table.
Syntax
| Parameter | Attributes | Description |
|---|---|---|
|
Table Iterator |
Table over which the Expression will be evaluated. |
|
|
Expression Row Context By Expression |
Expression to evaluate for each row of the table. |
Return values
Return a decimal number with the geometric mean.
Examples
-- GEOMEANX is an iterator that computes the geometric mean of an expression
EVALUATE
{
( "Average", AVERAGEX ( Sales, Sales[Quantity] * Sales[Net Price] ) ),
( "Geometric Mean", GEOMEANX ( Sales, Sales[Quantity] * Sales[Net Price] ) )
}
| Value1 | Value2 |
|---|---|
| Average | 305.21 |
| Geometric Mean | 89.14 |
Related functions
Other related functions are:
Last update: Oct 22, 2025 » Contribute » Show contributors
Contributors: Alberto Ferrari, Marco Russo, Daniel Otykier
Microsoft documentation: https://docs.microsoft.com/en-us/dax/geomeanx-function-dax
