Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Dear Experts, I am trying to calculate employees' Retirement Date based on their Date of Birth. I tried the below measure and it is giving me errors.
My data is like this:
I want to display a table to show the total number of employees nearing retirement when I select a date on my slicer.
I'm stuck and I need a way out of this. Please help, thank you.
What is the data type of your column Birth Date?
The data type is Date
Try this measure:
Retirement Date = DATEADD([Birth date],60,YEAR)
User | Count |
---|---|
92 | |
85 | |
77 | |
66 | |
62 |
User | Count |
---|---|
110 | |
95 | |
95 | |
64 | |
59 |