Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a date value (TMS_ACTUAL_DELIVERY_DATE) in my data table with data type as DateTime. I created another column (Delivery Date) using the date value column and changed it's data type to Date. However the filter for the new column looks like it's treating the values as DateTime and not Date only.
Fitler shows multiple lines for 8/28/24 on Delivery date. It should only list one since the column is a Date type and not DateTime.
This appears to be impacting the join of the Delivery Date column to the Calendar table which was created with this script:
Solved! Go to Solution.
Hi @TomSinAA,
Thanks for reaching out to the Microsoft fabric community forum.
To enable consistent date filtering across your data model, you should create a dedicated date dimension table and establish one-to-many relationships from this calendar table to the date fields in your other tables, with the calendar table on the 'one' side. This allows you to apply filters to the shared calendar table, which will then propagate through the model via these relationships.
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards
Hi @TomSinAA,
Thanks for reaching out to the Microsoft fabric community forum.
To enable consistent date filtering across your data model, you should create a dedicated date dimension table and establish one-to-many relationships from this calendar table to the date fields in your other tables, with the calendar table on the 'one' side. This allows you to apply filters to the shared calendar table, which will then propagate through the model via these relationships.
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards
Try defining Delivery Date as follows:
Delivery Date =
INT ( Movements[TMS_ACTUAL_DELIVERY_DATE] )
Proud to be a Super User!
It worked by creating the delivery date column using the Date function (i.e. Yr, Month, Day) rather than setting the data type on the new column.
Hello @TomSinAA ,
Why don't you make relationship to your DimDate instead of joining? İf you'd like to "Table view" in your PBI --> Click "New Table" --> paste your create_date script --> make relationship dimdate and facttable by date column (one to many). In you filter side you'll see only unique date's. That is best practice.
Best Regards,
Gökberk Uzuntaş
LinkedIn: https://www.linkedin.com/in/g%C3%B6kberk-uzunta%C5%9F-b43906198/
Medium: https://medium.com/@uzuntasgokberk
İf this post helps, then please consider Accept it as solution and kudos to help the other members find it more quickly.
I did create the relatationship. However it did not work until I created the delivery date column in the data table using the Date function rather than setting the data type to Date only.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
77 | |
76 | |
57 | |
36 | |
34 |
User | Count |
---|---|
99 | |
56 | |
56 | |
46 | |
40 |