Date.DayOfWeekName is a function in the Power Query M language that returns the name of the day of the week for a provided date. An optional culture may also be provided.
Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365
Syntax
Date.DayOfWeekName(
date as any,
optional culture as nullable text,
) as nullable text
Argument | Attribute | Description |
---|---|---|
date | ||
culture | optional | The culture argument enables the specification of a Culture code (e.g., “nl-NL” or “en-US”) to align transformations with local formatting conventions. If this argument is omitted, functions default to Culture.Current, which reflects the system’s regional settings. |