Date.AddQuarters

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Returns a Date/DateTime/DateTimeZone value incremented by the number of quarters provided. Each quarter is defined as a duration of three months. It also handles incrementing the year potion of the value as appropriate.

Date.AddQuarters(dateTime, quarters as number)  

ArgumentDescription
dateTimeThe DateTime to add quarters to.
quartersThe number of quarters to add.
Date.AddQuarters(DateTime.FromText("2011-02-19"), 1) equals 2011-05-19  

Date.AddQuarters(DateTime.FromText("2011-11-30"), 1) equals 2012-02-29  

Show: