Forum Discussion
LeonardCs
Helper I
2 years agoHELP WITH DAX
Hi all, I have a table with employee, exam, date of exam and type of exam. I need to program the next exam for each employer. Each employer has to do a new exam past 1 year of the last. So, ...
- 2 years ago
tamerj1
Community Champion
2 years agoHi LeonardCs
You may try the following calculated column
next exam =
IF (
'Table'[date of exam]
= CALCULATE (
MAX ( 'Table'[date of exam] ),
ALLEXCEPT ( 'Table', 'Table'[employee], 'Table'[type] )
),
EDATE ( 'Table'[date of exam], 12 )
)
- LeonardCs2 years ago
Helper I
Hey, thank you so much for answer me