Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi -
This is...odd. Relationship between my date table and another is producing an error "Can't create relationship between two columns with incompatible data types". Seems like a straightforward solution: fix the data types so they match...
But...after looking at both sides of the relationship, they do match (both are integer)
Has anyone ever encountered this before???
Both tables are based off views. One (Dim_Date) is simply pull data from the source with no transformation at all. The second view involves some manipulation of the underlying data to transform the data from the source. Specifically:
These transformations are done in the view, not in Power Query. Only thing I can think of is that the data that comes into the tabular model isn't valid and is causing errors. But I've reviewed output from the views and data coming into model, and everything seems ok.
Anyone ever encounter something like this before?
Community Admins -
This actually isn't solved. The above post was nothing more than testing/proving that the two fields in question are the same data type. Maybe this is a bug in Tabular Editor? Who knows? But it's definitely not solved.
If there's a closed / not solved status, feel free to change it to that...
As a test, pulled the two views into a brand new pbix file. Relationship created with no issues...
User | Count |
---|---|
98 | |
78 | |
77 | |
49 | |
26 |