Forum Discussion
New Column With LOOKUPVALUE DAX
- Anonymous3 years ago
Hi fmarthidalgo ,
Whether the connection mode of your data source is Direct Query connection mode, the Earliest() function is not supported on Direct Query connection mode
You might consider using the following DAX:
VAR keyword (DAX) - DAX | Microsoft Learn
Column = var _number=[INVNUMB] return MAXX( FILTER(ALL('Table'), 'Table'[INVNUMB]=_number),[Type])Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi fmarthidalgo ,
Whether the connection mode of your data source is Direct Query connection mode, the Earliest() function is not supported on Direct Query connection mode
You might consider using the following DAX:
VAR keyword (DAX) - DAX | Microsoft Learn
Column =
var _number=[INVNUMB]
return
MAXX(
FILTER(ALL('Table'),
'Table'[INVNUMB]=_number),[Type])
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly