Forum Discussion
Getting MAX value IF 2 conditions are met
- 5 years ago
Sorry,
the above was for the calculated measure.
I posted one more reply that is for the calculated column.
Hi, matthewtjy
Pleaes try the below DAX measure.
Max Sales of Last Submit Date =
VAR lastsubmitdate =
MAX ( 'Table'[Latest_Submit_Dt] )
RETURN
CALCULATE (
MAX ( 'Table'[Sales] ),
ALLEXCEPT ( 'Table', 'Table'[Employee] ),
'Table'[Submit_Dt] = lastsubmitdate
)
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster.
- matthewtjy5 years ago
Helper I
Hi i've tried to key in the DAX formula but no values appeared and there was no formula error also.
Did I do something wrong?
I used the formula
Max Sales of Last Submit Date =
VAR lastsubmitdate =
MAX ( 'Table'[Latest_Submit_Dt] )
RETURN
CALCULATE (
MAX ( 'Table'[Sales] ),
ALLEXCEPT ( 'Table', 'Table'[Employee] ),
'Table'[Submit_Dt] = lastsubmitdate
)- Jihwan_Kim5 years ago
Super User
Sorry,
the above was for the calculated measure.
I posted one more reply that is for the calculated column.
- matthewtjy5 years ago
Helper I
Thank you so much! Your solution is very helpful!