Forum Discussion

ConnieMaldonado's avatar
ConnieMaldonado
Icon for Responsive Resident rankResponsive Resident
5 years ago
Solved

Calculate Max Date by Employee Number

Hello - I need to create a filter to determine the max date by employee ID for a table which has the following:   RVP RDO Location   DATE Tech Name Employee Number RVP 1 RDO 1 Norfolk ...
  • parry2k's avatar
    5 years ago

    ConnieMaldonado use this expression:

     

    Max Date = CALCULATE ( MAX ( 'Table'[Date] ), ALLEXCEPT ( 'Table', 'Table'[Employee Number] ) )

     

    Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.