Forum Discussion
jmmoran20
6 years agoRegular 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 nu...
- 6 years ago
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.
TomMartens
6 years agoSuper 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