DAX code
Remaining Days in Month =
VAR MonthEnd = EOMONTH(TODAY(), 0)
RETURN
DATEDIFF(TODAY(), MonthEnd, DAY)
Counts how many days are left in the current month, for projecting month-end results.
Type your table and column names once. Every measure below updates.
Remaining Days in Month =
VAR MonthEnd = EOMONTH(TODAY(), 0)
RETURN
DATEDIFF(TODAY(), MonthEnd, DAY)
Generate a Power BI date table
Swap TODAY() for a selected date measure if the report should project from a chosen date instead of today.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Remaining Days in Month.