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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
TomSinAA
Helper IV
Helper IV

Date column with date data type displays multiple values in filter

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.

 

TomSinAA_0-1744053490557.png

 

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.

TomSinAA_1-1744053550832.png

 

This appears to be impacting the join of the Delivery Date column to the Calendar table which was created with this script:

create_date =
ADDCOLUMNS (
CALENDAR (DATE(2023,1,1), DATE(2050,12,31)),
"DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ),
"Year", YEAR ( [Date] ),
"Monthnumber", FORMAT ( [Date], "MM" ),
"YearMonthnumber", FORMAT ( [Date], "YYYY/MM" ),
"YearMonth", (Year([Date]) * 100 ) + MONTH([Date]),
"YearMonthShort", FORMAT ( [Date], "YYYY/mmm" ),
"MonthNameShort", FORMAT ( [Date], "mmm" ),
"MonthNameLong", FORMAT ( [Date], "mmmm" ),
"DayOfWeekNumber", WEEKDAY ( [Date] ),
"DayOfWeek", FORMAT ( [Date], "dddd" ),
"DayOfWeekShort", FORMAT ( [Date], "ddd" ),
"Start of Week", [Date]  - WEEKDAY([DATE],1),
"End of Week", [Date] + 7 - WEEKDAY([DATE],1),
"Quarter", "Q" & FORMAT ( [Date], "Q" ),
"YearQuarter", FORMAT ( [Date], "YYYY" ) & "/Q" & FORMAT ( [Date], "Q" ))

 

1 ACCEPTED SOLUTION
v-nmadadi-msft
Community Support
Community Support

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

View solution in original post

5 REPLIES 5
v-nmadadi-msft
Community Support
Community Support

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

DataInsights
Super User
Super User

@TomSinAA,

 

Try defining Delivery Date as follows:

 

Delivery Date =
INT ( Movements[TMS_ACTUAL_DELIVERY_DATE] )

 





Did I answer your question? Mark my post as a solution!

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. 

uzuntasgokberk
Super User
Super User

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.

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

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.  

TomSinAA_0-1744058543909.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors