Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
ale259
Helper I
Helper I

Create a date table from scratch

Hello,

 

Thank you for this great community. I'm having trouble creating a data table from scratch. Is the correct step is to:

1. Creat a new table

ale259_0-1739376385504.png

Then, click edit

ale259_1-1739376441279.png

Then, I'm not sure how to create the list of dates using List.Dates from this step. Any guidance would be great. Thank you!

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @ale259  - you are using "Enter Data" to create a date table . not a good approach. Instead, you should use Power Query or DAX to generate a proper date table dynamically.

it looks as like below image:

rajendraongole1_0-1739376867651.png

 

 

DateTable = ADDCOLUMNS(
CALENDAR(DATE(2023,1,1), DATE(2025,12,31)),
"Year", YEAR([Date]),
"Month", FORMAT([Date], "MMMM"),
"MonthNumber", MONTH([Date]),
"Quarter", "Q" & FORMAT([Date], "Q")
)

 

rajendraongole1_1-1739376928148.png

 

paste the above logic to create a date table.

 

Hope this helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
ale259
Helper I
Helper I

This is great! Thank you so much! 

rajendraongole1
Super User
Super User

Hi @ale259  - you are using "Enter Data" to create a date table . not a good approach. Instead, you should use Power Query or DAX to generate a proper date table dynamically.

it looks as like below image:

rajendraongole1_0-1739376867651.png

 

 

DateTable = ADDCOLUMNS(
CALENDAR(DATE(2023,1,1), DATE(2025,12,31)),
"Year", YEAR([Date]),
"Month", FORMAT([Date], "MMMM"),
"MonthNumber", MONTH([Date]),
"Quarter", "Q" & FORMAT([Date], "Q")
)

 

rajendraongole1_1-1739376928148.png

 

paste the above logic to create a date table.

 

Hope this helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.