# How to Create a Date Table in Power BI

> To create a date table in Power BI, select a data source, navigate to the Modeling tab, create a new table with DAX code, and commit. Then, mark the table as a date table, select the Date column, and save your changes.

Canonical: https://livedemo.ai/tutorials/how-to-create-a-date-table-in-power-bi/
Apps: Power BI
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a36b9ab56e05a00fdba56/preview?step=1

## Steps

1. Select a data source to start with.
2. Go to the 'Modeling' tab.
3. Click 'New Table'.
4. Paste the following DAX code.
5. Click the check icon to commit.
6. Click on the created DateTable .
7. Go to the 'Modeling' tab and click 'Mark as Date Table'.
8. Enable and turn on the option 'Mark as a date table'.
9. Choose the 'Date' column.
10. Click 'Save' to proceed.
11. That's it! You have successfully created a date table in Power BI.
