Forum Discussion
ConnieMaldonado
Responsive Resident
5 years agoCalculate 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
Super User
5 years agoConnieMaldonado if Total Hours is a column, make this change
Max Date =
CALCULATE (
MAX ( 'Table'[Date] ),
ALLEXCEPT ( 'Table', 'Table'[Employee Number] )
'Table'[Total Hours] > 0
)
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.⚡
- ConnieMaldonado5 years ago
Responsive Resident
Unfortunately, Total Hours is a measure. I tried the statement above, but of course Total Hours is not allowed in the expression. I've tried several different things to no avail.