Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |