Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe 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
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!
Solved! Go to Solution.
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 @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:
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.
@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.
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
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |