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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
lcanchila
Regular Visitor

DATEADD ERROR SYNTAX

Hi,

I'm trying create a calculate column to get a date subtracting 1 month, but I get a syntax error on MONTH. I don't know the reason.

 

See the function

 

error_dateadd.png

 

Thanks

1 ACCEPTED SOLUTION
lcanchila
Regular Visitor

I found the cause of error. It's for regional language setting. I have Spanish-Colombia. I changed it for Spanish-Mexico and work very well

View solution in original post

3 REPLIES 3
lcanchila
Regular Visitor

I found the cause of error. It's for regional language setting. I have Spanish-Colombia. I changed it for Spanish-Mexico and work very well

lcanchila
Regular Visitor

Thanks for your answer Herbert, but I tried create a table with the same expression and I got the same error

v-haibl-msft
Microsoft Employee
Microsoft Employee

@lcanchila

 

DATEADD will return a table containing a single column of date values. You cannot create a column with a table expression.

 

Best Regards,

Herbert

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.