How to Build a Dynamic Excel Date Dimension with Power Query
Question details
The user needs to build an Excel data model date dimension in Power Query that automatically extends through today, includes fiscal-year categories, supports a selectable month, and displays English month and weekday labels.

- Product
- Microsoft Excel with Power Query
- Device & OS
- not provided
- Scenario
- The user is designing a calendar/date dimension for an Excel data model and wants it to refresh automatically without maintaining a manual end date.
- Observed behavior
- The date table should extend through the current date, provide fiscal-year categories, allow month selection, and return English month and weekday labels after refresh.
Open the workbook that contains the data model and confirm that the Power Query Editor is available. Identify the fiscal-year start month and the desired English culture label before you build the query.
Create a Dynamic Date Dimension in the Power Query Editor
Use this method when you want a date table that automatically extends through today, includes fiscal-year categories, and supports selectable month and English labels.
This approach builds the calendar inside Power Query, so the table can be refreshed without changing a manual end date. You can also add a parameter or selection table later to make the month choice reusable.
In Excel, select any cell in a table or go to Data > Get Data > Launch Power Query Editor, then open or create a blank query for the date dimension.
In the formula bar or a custom column, enter DateTime.Date(DateTime.LocalNow()) so the calendar always ends at the current system date.
Use List.Dates with a fixed start date and the dynamic end date, then choose To Table in the Transform tab to convert the list into a date column.
On the Add Column tab, add Date > Year, Month, Month Name, Quarter, Weekday, and other required columns. For an April fiscal year, add a custom column such as if Date.Month([Date]) >= 4 then Date.Year([Date])+1 else Date.Year([Date]).
Create a parameter or an Excel selection table for the month, then reference it in a filter or custom column. Use a culture value such as Date.MonthName([Date], "en-US") or Date.DayOfWeekName([Date], "en-US") so labels are always in English.

Use WPS Office as a Free Excel Workbook Alternative for Date Models
If the dynamic date dimension depends on Microsoft Excel Power Query, WPS Office is a free, lightweight alternative for opening, editing, and sharing the resulting .xlsx workbook. It preserves Microsoft Office file compatibility and provides a familiar spreadsheet interface for everyday work.
- 1. Download WPS Office: Go to the official WPS Office website and click Download WPS Office Free to install the suite on your device.
- 2. Open the existing Excel workbook: Launch WPS Spreadsheets, click Menu > Open, and select the .xlsx workbook that contains your date table or data model.
- 3. Continue working in a familiar spreadsheet interface: Use the WPS ribbon and formatting tools to edit and share the workbook while keeping the original Microsoft Excel file format.

Frequently Asked Questions
How do I make my Power Query date table automatically end at today's date?
In Power Query Editor, use DateTime.Date(DateTime.LocalNow()) as the end date for List.Dates. This returns the current system date, so every refresh extends the table through today.
Can I set April as the fiscal year start in a Power Query date dimension?
Yes. Add a custom column with an if-then-else test such as if Date.Month([Date]) >= 4 then Date.Year([Date]) + 1 else Date.Year([Date]). This classifies dates from April through March into the same fiscal year.
How can I add a month selector to a Power Query date table?
Create a Power Query parameter or a small Excel selection table containing the month value, then reference it in a filter or calculated column. Loading the selector as a connection lets you change the month without editing the main query.
Why are my month and weekday names not displaying in English?
Power Query uses a culture value for date part labels. Use Date.MonthName([Date], "en-US") and Date.DayOfWeekName([Date], "en-US") so month and weekday names appear in English regardless of the local system locale.
Does WPS Office include Power Query for date dimensions?
No. Power Query is a Microsoft Excel feature. WPS Office can open and edit .xlsx workbooks, but use Microsoft Excel when you need to create or refresh Power Query date dimensions.




