Date.IsInNextWeek

Date

Returns true if the date falls in the next calendar week.

Examples on this page use shared sample tables. View them to understand the input data before reading the examples below.

Syntax

Date.IsInNextWeek(dateTime as any) as logical

Parameters

NameTypeRequiredDescription
dateTimeanyYesA date, datetime, or datetimezone value to test.

Return Value

logicaltrue if the date falls in the Sunday–Saturday week immediately after the current week, false otherwise.

Remarks

Date.IsInNextWeek returns true if the input date falls within the Sunday–Saturday calendar week immediately following the current week. The current week is not included; use Date.IsInCurrentWeek to also match the current week. The function is re-evaluated on each query refresh.

The week boundary is always Sunday–Saturday. If your organization uses Monday-based weeks, there is no built-in parameter to change this — build the filter manually using Date.StartOfWeek and Date.EndOfWeek with Day.Monday.

Use this function to surface upcoming deliverables, scheduled shifts, or events planned for next week. For a broader lookahead window, use Date.IsInNextNWeeks with the desired week count.

Examples

Example 1: Filter orders scheduled for next week

Table.SelectRows(
    Sales,
    each Date.IsInNextWeek([OrderDate])
)
Result
OrderID
CustomerName
OrderDate
143Alice3/16/2026
244Bob3/18/2026

Example 2: Flag next-week orders

Table.AddColumn(
    Sales,
    "IsNextWeek", each Date.IsInNextWeek([OrderDate]), type logical
)
Result
OrderID
OrderDate
IsNextWeek
1423/8/2026FALSE
2433/16/2026TRUE
3453/23/2026FALSE

Example 3: Flag current and next week together for a two-week view

Table.AddColumn(
    Sales,
    "TwoWeekWindow",
    each Date.IsInCurrentWeek([OrderDate]) or Date.IsInNextWeek([OrderDate]),
    type logical
)
Result
OrderID
OrderDate
TwoWeekWindow
1413/5/2026TRUE
2423/8/2026TRUE
3433/16/2026TRUE
4453/23/2026FALSE

Compatibility

Power BI Desktop Power BI Service Excel Desktop Excel Online Dataflows Fabric Notebooks