Join 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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi team,
I have a quite specific question about adding a date in the future to a BI Desktop report.
I have pulled two columns into my report called "start date" and "end date" for a contract. As the "end date" column was empty when I pulled them in, I added a new column called "new end date" that would automatically add two years to the "start date". It looks like this:
Solved! Go to Solution.
Hi, @Anonymous
To create a calculate column like below:
Another Column =
VAR _ThisYear =
YEAR ( TODAY () )
VAR _DateYear =
YEAR ( 'Table'[New End Date] )
VAR _diff2 =
QUOTIENT ( _ThisYear - _DateYear, 2 )
VAR _autoDate =
EDATE ( 'Table'[New End Date], _diff2 * 24 )
VAR _autoDate2 =
EDATE ( 'Table'[New End Date], ( _diff2 - 1 ) * 24 )
RETURN
IF ( _autoDate > TODAY (), _autoDate2, _autoDate )
Result:
Please refer to the attachment below for details
Is this the result you want? Hope this is useful to you
Please feel free to let me know If you have further questions
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
To create a calculate column like below:
Another Column =
VAR _ThisYear =
YEAR ( TODAY () )
VAR _DateYear =
YEAR ( 'Table'[New End Date] )
VAR _diff2 =
QUOTIENT ( _ThisYear - _DateYear, 2 )
VAR _autoDate =
EDATE ( 'Table'[New End Date], _diff2 * 24 )
VAR _autoDate2 =
EDATE ( 'Table'[New End Date], ( _diff2 - 1 ) * 24 )
RETURN
IF ( _autoDate > TODAY (), _autoDate2, _autoDate )
Result:
Please refer to the attachment below for details
Is this the result you want? Hope this is useful to you
Please feel free to let me know If you have further questions
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Try like
New End Date =
var _diff = quotient(datediff('Contract'[Start Date], today(),year),2)+2
return
IF(ISBLANK('Contract'[End Date]),
DATE(YEAR('Contract'[Start Date]) + _diff, MONTH('Contract'[Start Date]), DAY('Contract'[Start Date])),
'Contract'[End 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.