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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
guyatisk
Helper I
Helper I

Getting a future age

I dont need someone to do this for me, but give me hints, advice, a point in the right direction.  And for some, this ask might be pretty simple.  In our data of customers, we have a request to list any clients that are going to turn 18 in the next three months.  They also want another list of clients who will be turning 21 in the next three months.  Is there an AGE formula or would I use a DateDiff function?

 

Any advice is appreciated.

2 ACCEPTED SOLUTIONS
FreemanZ
Super User
Super User

hi @guyatisk 

use DATEADD to shift years to simulate future ages.

View solution in original post

Idrissshatila
Super User
Super User

Hello @guyatisk ,

 

You could also check SQLBI's article https://www.sqlbi.com/blog/marco/2018/06/24/correct-calculate-of-age-in-dax-from-birthday/

 

If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Idrissshatila
Super User
Super User

Hello @guyatisk ,

 

You could also check SQLBI's article https://www.sqlbi.com/blog/marco/2018/06/24/correct-calculate-of-age-in-dax-from-birthday/

 

If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




FreemanZ
Super User
Super User

hi @guyatisk 

use DATEADD to shift years to simulate future ages.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.