Short answer: DAX information functions test something and usually return TRUE or FALSE: the type of a value (ISNUMBER, ISTEXT, ISBLANK), the filter state of a column (ISFILTERED, HASONEVALUE, ISINSCOPE), whether a table contains a value (CONTAINS, CONTAINSROW, CONTAINSSTRING), which measure a calculation group is applied to (SELECTEDMEASURE), and who is viewing (USERPRINCIPALNAME). This page lists every function in the group with an example.
Which functions test a value?
| Function | TRUE when | Example |
|---|---|---|
| ISBLANK | the value is BLANK | ISBLANK ( [Revenue LY] ) |
| ISERROR | the expression returns an error | ISERROR ( VALUE ( Settings[Text] ) ) |
| ISNUMBER, ISNUMERIC | the value is a number | ISNUMBER ( [Input] ) |
| ISTEXT, ISSTRING | the value is text | ISTEXT ( Customer[Code] ) |
| ISNONTEXT | the value is not text (blank counts as not text) | ISNONTEXT ( Customer[Code] ) |
| ISLOGICAL, ISBOOLEAN | the value is TRUE or FALSE | ISLOGICAL ( Sales[Is Return] ) |
| ISINT64, ISINTEGER | the value is a whole number | ISINTEGER ( [Units] ) |
| ISDECIMAL, ISCURRENCY | the value is a fixed decimal (currency) | ISCURRENCY ( Sales[Amount] ) |
| ISDOUBLE | the value is a floating-point number | ISDOUBLE ( [Rate] ) |
| ISDATETIME | the value is a date or time | ISDATETIME ( Orders[Shipped] ) |
| ISEVEN, ISODD | the number is even or odd | ISEVEN ( 'Date'[Day] ) |
| ISEMPTY | a table has no rows | ISEMPTY ( RELATEDTABLE ( Sales ) ) |
Which functions read the filter state?
| Function | TRUE when | Example |
|---|---|---|
| ISFILTERED | the column is filtered directly | ISFILTERED ( 'Product'[Color] ) |
| ISCROSSFILTERED | the column is filtered directly or through other columns or tables | ISCROSSFILTERED ( 'Product'[Color] ) |
| HASONEVALUE | exactly one value of the column is visible | HASONEVALUE ( 'Date'[Year] ) |
| HASONEFILTER | exactly one value is directly filtered | HASONEFILTER ( 'Date'[Year] ) |
| ISINSCOPE | the column is a grouping level of the current cell | ISINSCOPE ( 'Product'[Product] ) |
| ISSUBTOTAL | in SUMMARIZE, the row is a subtotal for the column | ISSUBTOTAL ( 'Product'[Category] ) |
| NONVISUAL | marks a filter in SUMMARIZECOLUMNS as not affecting measures | NONVISUAL ( TREATAS ( { 2026 }, 'Date'[Year] ) ) |
In depth: SELECTEDVALUE and HASONEVALUE, ISINSCOPE.
Which functions search?
| Function | Returns | Example |
|---|---|---|
| CONTAINS | TRUE if a table has a row with the given column values | CONTAINS ( Sales, Sales[Product Key], 42 ) |
| CONTAINSROW | TRUE if a row of values exists in a table (what IN uses) | CONTAINSROW ( { "DE", "AT" }, Customer[Country] ) |
| CONTAINSSTRING | TRUE if text contains text, not case-sensitive | CONTAINSSTRING ( 'Product'[Name], "bike" ) |
| CONTAINSSTRINGEXACT | as above, case-sensitive | CONTAINSSTRINGEXACT ( 'Product'[Code], "BK" ) |
| TEXTCONTAINS | TRUE if text matches by full-text search (needs a full-text index) | TEXTCONTAINS ( Tickets[Text], "refund" ) |
| TEXTSIMILARITY | a relevance score of a full-text match | TEXTSIMILARITY ( Tickets[Text], "late delivery" ) |
| ISAFTER, ISONORAFTER | TRUE for rows after (or at) given values, like START AT | FILTER ( T, ISONORAFTER ( T[Date], DATE ( 2026, 1, 1 ), ASC ) ) |
Microsoft notes TEXTCONTAINS needs a persisted full-text index on the column and works in Import, Dual and Direct Lake modes.
Which functions serve calculation groups and references?
| Function | Returns | Example |
|---|---|---|
| SELECTEDMEASURE | the measure a calculation item is applied to | CALCULATE ( SELECTEDMEASURE ( ), DATESYTD ( 'Date'[Date] ) ) |
| SELECTEDMEASURENAME | its name | SELECTEDMEASURENAME ( ) |
| SELECTEDMEASUREFORMATSTRING | its format string | SELECTEDMEASUREFORMATSTRING ( ) |
| ISSELECTEDMEASURE | TRUE if it is one of the listed measures | ISSELECTEDMEASURE ( [Margin %] ) |
| NAMEOF | the name of a column or measure as text | NAMEOF ( [Revenue] ) |
| TABLEOF | a reference to the table of a column, measure or calendar | TABLEOF ( [Revenue] ) |
| COLUMNSTATISTICS | statistics for every column in the model | EVALUATE COLUMNSTATISTICS ( ) |
In depth: calculation groups.
Which functions identify the user?
USERPRINCIPALNAME, USERNAME, USEROBJECTID, CUSTOMDATA and USERCULTURE: see dynamic row-level security.
What goes wrong?
- ISBLANK on 0.
ISBLANK ( 0 )is FALSE; a value that is 0 is not blank. - ISFILTERED for "one value selected". It is TRUE for any direct filter, also with several values; use
HASONEVALUE. - CONTAINSSTRING with wildcards. It supports
?and*wildcards; escape them with~when you mean the characters. - ISERROR around everything. Hides problems and costs time; prevent errors instead.
Where can you check this?
- Microsoft Learn: Information functions (DAX)
- Microsoft Learn: CONTAINSSTRING function (DAX)
- Microsoft Learn: TEXTCONTAINS function (DAX)
Where do you start?
Learn ISBLANK, HASONEVALUE, ISINSCOPE and SELECTEDMEASURE; they cover most uses. Logical functions combine these tests into conditions.