Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Excel formulas into DAX

Looking to see if I can easily get something into a column that will operate like my current formula here:   {=MAX(IF([Employee Number]=[@[Employee Number]],[Activity Date Value]))}   Overall, lo...
  • v-zhangti's avatar
    v-zhangti
    4 years ago

    Hi, Anonymous 

     

    You can try the following methods.

    Sample data:

    Measure:

    Latest Date =
    CALCULATE (
        MAX ( 'Table'[Date] ),
        FILTER (
            ALL ( 'Table' ),
            [Employee Number] = SELECTEDVALUE ( 'Table'[Employee Number] )
        )
    )
    

    Is this the result you expect?

     

    Best Regards,

    Community Support Team _Charlotte

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.