Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello PowerBI users
I have a date column and I want to create a new column based on that date. The new date (in the new column) would be minus 25 months from the existing column.
Thoughts?
Kind regards
Ray
Solved! Go to Solution.
Hi @rayinOz ,
To use dateadd function, we should create a calendar table in advance and create relationship between tables.
calendar = CALENDAR(DATE(2016,01,01),DATE(2019,12,31))
Column = DATEADD('calendar'[Date],-25,MONTH)
To use EDATE as @Ashish_Mathur metioned, we can get the excepted result without calendar table.
pre = EDATE('Table'[date],-25)
Hi @rayinOz ,
To use dateadd function, we should create a calendar table in advance and create relationship between tables.
calendar = CALENDAR(DATE(2016,01,01),DATE(2019,12,31))
Column = DATEADD('calendar'[Date],-25,MONTH)
To use EDATE as @Ashish_Mathur metioned, we can get the excepted result without calendar table.
pre = EDATE('Table'[date],-25)
Hi,
Try this calculated column formula
=EDATE(Data[Date],-25)
Hope this helps.
Dateadd should allow you to do that. Give interval negative
Hello @rayinOz
Give this a try.
Column = DATE ( YEAR ( 'Date'[Date] ), MONTH ( 'Date'[Date] ) -25, DAY ( 'Date'[Date] ) )
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.