Date.WeekOfMonth
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 number for the count of week in the current month.
Date.WeekOfMonth(dateTime as datetime) as nullable number
| Argument | Description |
|---|---|
| dateTime | The DateTime to check against. |
Date.WeekOfMonth(DateTime.FromText("2011-08-30")) equals 5
Show: