- DAX Functions Tutorial
- DAX Functions - Home
- DAX Functions - Introduction
- DAX Parameter Naming Conventions
- Description Structure
- DAX Functions - Aggregation
- DAX Functions - Filter
- DAX Functions - Time Intelligence
- DAX Functions - Date and Time
- DAX Functions - Information
- DAX Functions - Logical
- Math & Trigonometric Functions
- DAX Functions - Parent & Child
- DAX Functions - Statistical
- DAX Functions - Text
- DAX Functions - Other
- DAX Functions Useful Resources
- DAX Functions - Quick Guide
- DAX Functions - Useful Resources
- DAX Functions - Discussion
DAX Filter - EARLIEST function
Description
Returns the current value of the specified column in an outer evaluation pass of the specified column.
Syntax
EARLIEST (<column>)
Parameters
Sr.No. | Parameter & Description |
---|---|
1 |
column A reference to a column. |
Return Value
The current value of row, from column, at the outer evaluation pass.
Remarks
The EARLIEST function is similar to EARLIER, in which you can also specify the level of recursion.
The Results of Earliest and Earlier functions will be the same, if the parameter number of Earlier function is omitted or is set to 1.
Example
If you have a table Sales with sales data, you can create a calculated column with the ranks of the Sales Amount values as follows −
= COUNTROWS ( FILTER (Sales, EARLIEST (Sales[Sales Amount])>Sales[Sales Amount]) )+1
dax_functions_filter.htm
Advertisements