cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Somebodys age in the future?

Hi! I need some help how to calculate from person’s date of birth when he/she will be for example 60, I need the date or month and year.

1 ACCEPTED SOLUTION
mahoneypat
Super User IV
Super User IV

Is this a duplicate post?  Here is what I proposed in the other one. Update with your table and column name in place of Age and [DOB].  This expression assumes you want a DAX calculated column.

 

Date Turns 60 = DATE(Year(Age[DOB])+60, MONTH(Age[DOB]), DAY(Age[DOB]))
 
Regards,
Pat




Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

1 REPLY 1
mahoneypat
Super User IV
Super User IV

Is this a duplicate post?  Here is what I proposed in the other one. Update with your table and column name in place of Age and [DOB].  This expression assumes you want a DAX calculated column.

 

Date Turns 60 = DATE(Year(Age[DOB])+60, MONTH(Age[DOB]), DAY(Age[DOB]))
 
Regards,
Pat




Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors