Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in Relationship dialog - incompatible data types #855

Closed
edhans opened this issue Mar 20, 2023 · 5 comments
Closed

Bug in Relationship dialog - incompatible data types #855

edhans opened this issue Mar 20, 2023 · 5 comments
Assignees
Labels
issue: bug Confirmed as a bug in TE3

Comments

@edhans
Copy link

edhans commented Mar 20, 2023

Regardless of the data types, the Create New Relationship dialog box reports the columns are of a different type. It will let me click OK and create the relationship, but it is still wrong info. You can see both of these are DateTime datatypes. I've repro'd this with strings too.

This remains an "error" if you save it, then open it back up to edit it.

There is no error in the Relationship view of the TOM panel.

image
image

@mlonsk
Copy link
Collaborator

mlonsk commented Mar 21, 2023

Hi @edhans
I have reproduced this bug and we will look into fixing it.
Thank you for reporting.

@mlonsk mlonsk self-assigned this Mar 21, 2023
@mlonsk mlonsk added the issue: bug Confirmed as a bug in TE3 label Mar 21, 2023
@redstor-albe
Copy link

Seeing the same issue where showing incompatible data types. However, my visualizations in Power BI that uses that relationship doesn't seem to work either, nor measures using those relationships. Is it just a display issue in the software and my problem might be somewhere else or is this also seen somewhere else? I'm on 3.5.0.1077

@mlonsk
Copy link
Collaborator

mlonsk commented Mar 23, 2023

Hi @redstor-albe
The issue that is being reported here is according to our testing only a display issue, ie. TE is showing incompatible datatypes though they are the same. It should not affect the actual relationship being created.

Are you able to provide is with an example of what the relationship is you are setting up, properties etc and the error you are seeing in Power BI?
Does the same issue occur if you create or modify a different relationship?

@redstor-albe
Copy link

Hi @mlonsk

After posting this message yesterday I have since downgraded to 3.4.2 - my problem still persisted so I deleted the relationships and recreated them, that seems to have solved the problem. One case I had was one to many between my date table and a fact table containing some data and dates, the other was a 1:1 relationship using GUIDS. All stopped working but after recreating them and refreshing the model everything worked.
Don't think it was related to this bug.
By the way it was definitely in the model (AAS hosted) - I could see the relationships not working in PBI, Dax Studio and Tabular Editor.

@otykier
Copy link
Collaborator

otykier commented Mar 28, 2023

This is fixed in 3.5.1.

@otykier otykier closed this as completed Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Confirmed as a bug in TE3
Development

No branches or pull requests

4 participants