値が整数であるかどうかを確認し、 TRUE または FALSEを返します。
構文
ISINTEGER(<value>)
パラメーター
| 任期 | Definition |
|---|---|
value |
テストする値。 |
戻り値
TRUE 値が整数の場合。それ以外の場合は FALSE。
注釈
- この関数は、計算列または行レベル セキュリティ (RLS) 規則で使用する場合、DirectQuery モードでは使用できません。
- この関数は 、ISINT64のエイリアスです。
Example
次の DAX クエリは、ISINTEGER の動作を示しています。
EVALUATE
{
IF ( ISINTEGER ( 4.2 ), "Is integer", "Is not integer" ), // RETURNS: Is not integer
IF ( ISINTEGER ( 3.1E-1 ), "Is integer", "Is not integer" ), // RETURNS: Is not integer
IF ( ISINTEGER ( "42" ), "Is integer", "Is not integer" ), // RETURNS: Is not integer
IF ( ISINTEGER ( 42 ), "Is integer", "Is not integer" ) // RETURNS: Is integer
}