Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

How To Calculate Retirement Date

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.

errykus_2-1663663032981.png

 

 

My data is like this:

errykus_0-1663662939590.png

 

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.

4 REPLIES 4
Anonymous
Not applicable

@JorgePinho unfortunately, it's not working. It doesn't show anything.

What is the data type of your column Birth Date?

Anonymous
Not applicable

The data type is Date

JorgePinho
Solution Sage
Solution Sage

Try this measure:

 

Retirement Date = DATEADD([Birth date],60,YEAR)

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.