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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Shelley
Continued Contributor
Continued Contributor

DATEADD Function works for some cells, but not others?

I am trying to use the DATEADD function. Ideally, I'd like to add 12 months, and subtract one day, so if anyone can help me with the formula for this, I'd really appreciate it.

 

For now, let's consider the formula MOU_EndDate = DATEADD(Analytics[MOU_Date],12,MONTH). Why does this work for some cells and not others (blanks) as shown? Both columns are set to Date format. ANy help is greatly appreciated. Thanks!

 

CaptureMOU.PNG

 

1 ACCEPTED SOLUTION
Shelley
Continued Contributor
Continued Contributor

I don't know why this wasn't working, but I figured out another way to do what I wanted: MOU_EndDate = EOMONTH(Analytics[MOU_Date],11) - and it works for all cells.

CaptureMOU2.PNG

View solution in original post

2 REPLIES 2
Thiyagu
Helper III
Helper III

I think dateadd works only if there is a date in a date table. Try below

Capture_2.JPG

 

 Column = datecheck[Column1]+365..

 

 

Shelley
Continued Contributor
Continued Contributor

I don't know why this wasn't working, but I figured out another way to do what I wanted: MOU_EndDate = EOMONTH(Analytics[MOU_Date],11) - and it works for all cells.

CaptureMOU2.PNG

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors