FIXED DAX Function (Text)

Rounds a number to the specified number of decimals and returns the result as text with optional commas.

Syntax

FIXED ( <Number> [, <Decimals>] [, <NoCommas>] )
Parameter Attributes Description
Number

The number you want to round and convert to text.

Decimals Optional

The number of digits to the right of the decimal point; if omitted, 2.

NoCommas Optional

A logical value: if TRUE, do not display commas in the returned text; if FALSE or omitted, display commas in the returned text.

Return values

Scalar A single string value.

A number represented as text.

Remarks

If the value used for the Decimals parameter is negative, Number is rounded to the left of the decimal point.

If you omit Decimals, it is assumed to be 2.

If NoCommas is 0 or is omitted, then the returned text includes commas as usual.

Last update: Oct 13, 2018   » Contribute   » Show contributors

Contributors: Alberto Ferrari, Marco Russo

MSDN documentation: https://msdn.microsoft.com/en-us/query-bi/dax/fixed-function-dax

DAX Conventions
Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

Row Context

This expression is executed in a Row Context. Click to read more.

Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

Not recommended

The use of this parameter is not recommended.

Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

Deprecated

This parameter is deprecated and its use is not recommended.

Contribute

Want to improve the content of FIXED? Did you find any issue? Please, report it us!
All submissions will be evaluated for possible updates of the content.