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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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
Thanks
Solved! Go to Solution.
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
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
Thanks for your answer Herbert, but I tried create a table with the same expression and I got the same error
DATEADD will return a table containing a single column of date values. You cannot create a column with a table expression.
Best Regards,
Herbert
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 141 | |
| 103 | |
| 63 | |
| 36 | |
| 35 |