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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors