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 2 tables, One is DimDate, other one if FactTable with the date column that has "Date" type . When I make relation between Date columns in these two tables, The type of date column in Fact table will change automatically and it's not date more.
What's wrong?
Thank you for your prompt answer,
As you can see, both columns are Date.
But in Call Center table, you can see call date is not determin as Date in field list
💌 If this helped, a Kudos 👍 or Solution mark ✅ would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
Thank you for your prompt reply. Of course I chacked data types before. I attached some photos here.
Please take a look as it never happend for me before.
Call center is my Fact table and you can see Call Date field after relation.
Hi @mariakn6
That shouldn't be the case. Please post a screenshot of the date column's data type.
The date column below is related to a dates table but data type still remains date.
Hi @mariakn6 - Crosscheck, the if there is any mismatched data types between the DimDate and FactTable date columns or due to ambiguity introduced by the column's formatting or data structure.
Navigate to the Modeling tab in Power BI.
Select the column in question.
Change the data type to Date for both columns.
or you can also fix it at power query editor
Go to Home > Transform Data to open Power Query Editor.
Select the FactTable date column.
Remove or replace any non-date values.
Set the column’s data type explicitly to Date.
Apply changes and close Power Query Editor.
or
Delete the existing relationship between DimDate and FactTable.
After ensuring both columns are of the same type (Date), recreate the relationship:
Drag the date column from DimDate to the corresponding column in FactTable in the Model view.
Set the relationship as Many-to-One (Single) and ensure the cardinality and cross-filter direction are correct.
Hope the above details helps to fix the issue.
Proud to be a Super User! | |
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 |
---|---|
80 | |
78 | |
58 | |
36 | |
33 |
User | Count |
---|---|
93 | |
59 | |
56 | |
49 | |
41 |