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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
jmmoran20
Regular Visitor

Date Table Help - Month Range

Hello,

 

I am looking to create a date table. However, I need the ability to include all days in a month not just the first day. I am creating a report where there will be a table that lists the number of "projects" that are committed in a given month. I want to use an external date table to filter this information and structure it in order throughout the year. I am having a difficult time processing how to create this table.

 

Let me know if you can help or if there is already a thread I should look at.

 

Thanks!

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @jmmoran20 ,

 

You may create a calculated table Like DAX below, then create relationship with your fact data table .

 

Calendar= CALENDARAUTO()

Or

Calendar= CALENDAR( MIN(Data[Date]), MAX(Data[Date]))

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

5 REPLIES 5
jmmoran20
Regular Visitor

@TomMartens @amitchandak @v-xicai 

 

Thank you for your responses. I appreciate the feedback. I think the part of the question that I may have confused you on is that I am looking for a way to count the number of projects within a given month based upon the project's committment date. So, for example, I am trying to get a count of Total Committed for Jan 2020 - December 2021. But also using a date table in order to properly organize the data. Here's the data source for reference: 

snip power bi.PNG

 
 
v-xicai
Community Support
Community Support

Hi @jmmoran20 ,

 

You may create a calculated table Like DAX below, then create relationship with your fact data table .

 

Calendar= CALENDARAUTO()

Or

Calendar= CALENDAR( MIN(Data[Date]), MAX(Data[Date]))

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@jmmoran20 , I created one in my webinar on Time Intelligence: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-Y...
My Youtube Tips at: https://www.youtube.com/playlist?list=PLPaNVDMhUXGYrm5rm6ME6rjzKGSvT9Jmy

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/


Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
TomMartens
Super User
Super User

Hello @jmmoran20 ,

this article contains links to the most complete DAX statement that creates a Calendar table (Date): https://www.sqlbi.com/tools/dax-date-template/

This article explains almost everything related to date and time calculations using DAX: https://www.daxpatterns.com/time-patterns/

Hopefully, this is what you're looking for.

Best regards

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
TomMartens
Super User
Super User

Hey @jmmoran20 ,

 

this article contains links to the most complete DAX statement creating a Calendar (Date) table: https://www.sqlbi.com/tools/dax-date-template/

 

This article explains almost everything related to date/time calculations using DAX: https://www.daxpatterns.com/time-patterns/

 

Hopefully, this is what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.