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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Malina36
Frequent Visitor

Calendar table vs data column in data set

Hello, I already have data column in my data set. Do I need to create calendar table for my further calculations, like MoM, YoY...What is a better solution?

1 ACCEPTED SOLUTION
ToddChitt
Super User
Super User

Yes, it is always advisable to create a date dimension table and join it via a relationship to the fact table on some date field. Why? You need CONTIGUOUS DATES to do correct date intelligence with DAX. 

The good news: You can create a date table with a simple DAX statement:

MyDates = CALENDAR("1/1/2025", "12/31/2025")

Then you will need to flesh out the other columns like month number, name, etc.

Hope that helps.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
Malina36
Frequent Visitor

Thanks, that helps a lot! 

ToddChitt
Super User
Super User

Yes, it is always advisable to create a date dimension table and join it via a relationship to the fact table on some date field. Why? You need CONTIGUOUS DATES to do correct date intelligence with DAX. 

The good news: You can create a date table with a simple DAX statement:

MyDates = CALENDAR("1/1/2025", "12/31/2025")

Then you will need to flesh out the other columns like month number, name, etc.

Hope that helps.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors