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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.