ISONORAFTER Function (DAX)

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.

Related Blog Posts

Related Support Forum Posts

Cumulative sum of a measure that creates another cumulative sum
Data grouping and missing month
Developing Complex Dax functions

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.

Related Video Tutorials

Dynamically-Compare-Monthly-Information-Cumulatively-in-Power-BI-w-DAX-1

Formula examples using the ISONORAFTER function

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

Related DAX Functions

ceiling
ROUND
ROUNDUP

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI
Center of Excellence

DOWNLOAD


Download our comprehensive DAX Formula Reference Guide as perfect companion as you learn how to use DAX formulas within Power BI.


Download DAX Formulas Reference Guide
Download DAX Formula Reference Guide
Membership