Edit

Share via


ISCURRENCY

Applies to: Calculated column Calculated table Measure Visual calculation

Checks whether a value is a decimal number, and returns TRUE or FALSE.

Syntax

ISCURRENCY(<value>)

Parameters

Term Definition
value The value you want to test.

Return value

TRUE if the value is a a decimal number; otherwise FALSE.

Remarks

  • This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
  • This functions is an alias of ISDECIMAL.

Example

The following DAX query shows the behavior of ISCURRENCY.

EVALUATE
{
    IF ( ISCURRENCY ( 3.1E-1 ), "Is currency", "Is not currency" ), // RETURNS: Is not currency
    IF ( ISCURRENCY ( "42" ), "Is currency", "Is not currency" ), // RETURNS: Is not currency
    IF ( ISCURRENCY ( 42 ), "Is currency", "Is not currency" ), // RETURNS: Is not currency
    IF ( ISCURRENCY ( CURRENCY ( 4.2421 ) ), "Is currency", "Is not currency" ) // RETURNS: Is currency
}