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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
anongard
Helper I
Helper I

Adding time in Query Editor

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

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@anongard

 

Hi, In a New Custom Column:

 

=Date.AddMonths([DateField],1)

 

Regards

 

Victor

Lima - Peru




Lima - Peru

View solution in original post

3 REPLIES 3
Vvelarde
Community Champion
Community Champion

@anongard

 

Hi, In a New Custom Column:

 

=Date.AddMonths([DateField],1)

 

Regards

 

Victor

Lima - Peru




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. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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