DAX Function Guide

ISONORAFTER
Empty image or helper icon

Sam McKay

CEO & Founder

How does the ISONORAFTER 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?

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.

Related Blog Posts

Loading

Considerations when using the ISONORAFTER?

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.

Related Video Tutorials

Loading

Formula examples using the ISONORAFTER
FILTER(Info, ISONORAFTER(Info[Country], “IND”, ASC, Info[State], “MH”, ASC)) 
Related Courses

Loading