Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hey all,
I'm having a hard time figuring out how to add one month to every date in a column using power query or M syntax. I can easily add time using DAX in data view, but in order to do a Group By to create a pivot-tablesque solution I need to do this in the Query Editor, or so I think. Is there any simple way to do this?
I have gathered from previous threads that it has something to do with the #duration function, but I don't actually know how to apply that. Any help would be appreciated.
Thanks,
Alex
Solved! Go to Solution.
Hi, In a New Custom Column:
=Date.AddMonths([DateField],1)
Regards
Victor
Lima - Peru
Hi, In a New Custom Column:
=Date.AddMonths([DateField],1)
Regards
Victor
Lima - Peru
Perfect! Thank you so much. Is there a list of commands like this that can be used in Query Editor? I haven't found a good repository that is clear like that.
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 60 | |
| 52 | |
| 47 | |
| 40 | |
| 38 |