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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Michael11
Frequent Visitor

Need help with formula, if assigned date = more than 3 months ago

Hi all,

 

Have searched around but cant seem to comprehend exactly what i need to put. i would like to create a custom column whereby if an individuals 'Assign Date' is more than 3 months ago, it will appear with a Y in the column

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

NewStep=Table.AddColumn(PreviousStepName,"Custom",each if Date.From([Assign Date])<Date.AddMonths(Date.From(DateTime.LocalNow()),-3) then "Y" else null)

View solution in original post

2 REPLIES 2
wdx223_Daniel
Super User
Super User

NewStep=Table.AddColumn(PreviousStepName,"Custom",each if Date.From([Assign Date])<Date.AddMonths(Date.From(DateTime.LocalNow()),-3) then "Y" else null)

DAX version, in case you want to create the calculated column:

Over3Months = datediff(today(), [Assigned Date], MONTH) <= -3

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.