OpenBI Docs Buy

ISNUMERIC

Whether a value is a number: whole, decimal or fixed decimal (a date doesn't count).

Group: Information. Compatible with DAX.

Syntax

ISNUMERIC ( <value> )
ParameterTypeDescription
valueValueWhat is tested: a constant, a column in a row context, a measure or any expression.

Returns

Boolean. TRUE for a whole number, a decimal number or a fixed decimal number; FALSE otherwise.

Remarks

  • Unlike ISNUMBER, a date is not counted: FALSE.
  • Text, TRUE and FALSE, and a blank are not numeric.
  • One of the newer type tests: ISINT64, ISDOUBLE and ISCURRENCY each test for one kind of number; ISNUMERIC for any of the three.

Examples

Numbers, and what is not

EVALUATE
ROW (
    "7", ISNUMERIC ( 7 ),
    "2.5", ISNUMERIC ( 2.5 ),
    "CURRENCY ( 2 )", ISNUMERIC ( CURRENCY ( 2 ) ),
    "A date", ISNUMERIC ( DATE ( 2026, 11, 2 ) ),
    "Text 7", ISNUMERIC ( "7" ),
    "Blank", ISNUMERIC ( BLANK () )
)
72.5CURRENCY ( 2 )A dateText 7Blank
TRUETRUETRUEFALSEFALSEFALSE

ISNUMBER, ISINT64, ISDOUBLE, ISCURRENCY, ISDATETIME.

Last updated · OpenBI Studio 0.3.74