## How does the ISONORAFTER function (DAX) work?

ISONORAFTER function (DAX) takes a variable number of triples, the first two values in a triple are the terms to be compared, and the third parameter specifies the order of the sort. The sort order can either be upward (default) or downward.

## ISONORAFTER Formula Syntax

``ISONORAFTER (<scalar_expression>, <scalar_expression> [, sort_order [ <scalar_expression>, <scalar_expression> [, sort_order] ] …)``

## How do you use the ISONORAFTER function?

This function takes a triple variable number, the first two values in a triple are the expressions to be compared, and the third parameter indicates the order of sorting. The sort order may be up (default) or down.

## Considerations when using the ISONORAFTER function

Based on the sort order, the first parameter is compared with the second parameter. If the sort order is ascending, the comparison to be done is first parameter greater than or equal to second parameter. If the sort order is descending, the comparison to be done is second parameter less than or equal to first parameter.

ISONORAFTER function returns TRUE if any of the comparisons is TRUE, otherwise returns FALSE.

## Formula examples using the ISONORAFTER function

``FILTER(Info, ISONORAFTER(Info[Country], “IND”, ASC, Info[State], “MH”, ASC))  ``

## Related Course Modules 