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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
hmpslrssn
Regular Visitor

Creating relationship fails with no error message or other output

Hi,

 

I've got a report with a Date table and a calculated table with a Date column and a custom date range column (YTD,MTD,etc..).

When I try to create a relationship between the Date columns in both tables it looks like the operation is successful, the "Working on it" popup shows and then the "Manage relationships" window shows but with no relationship created.

This is the code for the calcualted table

hmpslrssn_0-1740989802222.png

hmpslrssn_3-1740990061629.png

 

hmpslrssn_1-1740990016988.png

hmpslrssn_2-1740990031419.png

 

I tried adding the calculated table to one of my existing models but could not create the relationship. I tried creating a report with only the Date table and the calcualted table but could not get that to work either.

 

I've never encountered an issue like this before and I'm not sure how to further troubleshoot.

Any help would be appreciated.

 

Cheers

11 REPLIES 11
gtiwari11
Advocate I
Advocate I

Hope this issue has been solved?

gtiwari11
Advocate I
Advocate I

Hope issue has been solved if not please let me know

hmpslrssn
Regular Visitor

I've nailed the issue, if I pass a CALCULATED value as a parameter to the CALENDAR function it will no longer allow me to create a "one to many" relationship. It only affects one to many relationships.

 

PBIX file available here: https://www.dropbox.com/s/odcnk3r46zjbtpl/FailedRelationshipDemo.pbix?st=0viw1k4b&dl=0

Hi @hmpslrssn ,
We really appreciate your efforts and for letting us know the update on the issue.
If you believe this solution has resolved your issue, please mark your reply as the accepted solution to assist other community members who might encounter the same problem in the future.

Please continue using fabric community forum for your further assistance.
Thank you

hmpslrssn
Regular Visitor

I've done some more testing and it seems to only be an issue with the one to many relationship type. There are no duplicates in my Date table but I am able to create a many to many relationship without issue, but if I try to change the relationship type to "one to many" it does the same thing, it does a quick load and then nothing happens. No error and no change.

I've created two other tables for testing as well, one where I manually input 4 dates in a column called Date with 2 duplicates, this table can create the "one to many" relationship with no issue.

hmpslrssn_0-1741043450245.png

 

The second table is a calculated table where I union two sets of dates with some overlapping dates, this table can also create the "one to many" relationship with no issue.

hmpslrssn_1-1741043517944.png

This is the code for the table that won't work

hmpslrssn_3-1741044371851.png

 

A screenshot of the relationships with the two test tables.

hmpslrssn_2-1741043554240.png

gtiwari11
Advocate I
Advocate I

Try to share pbix to check

gtiwari11
Advocate I
Advocate I

Relationship error screenshot please.

Before must check following things:

- Duplicate values

- Data Type

- match date in two different tables try to validat those things then please follow Type of relationship:

one  to many,

Many to one,

many to many

https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-create-and-manage-relationships

I'm not getting any errors. It just completes the process as if the relationship has been created but there is no relationship there.

I have the same problem. Its only been since the last revision of PBI.

Please Share pibix to check (similar issue I've went through where I have found the data Type issue ( not all few)

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.