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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
mkohler281
Helper I
Helper I

Not recognizing date relationship

I am trying to create a column to compare two dates but the error is saying there's no relationship. This is a many-to-one relationship from a schedule to a list of records. Both dates are formatted correctly. Any ideas why this relationship is not working? Not sure what the curly brackets at each end of the relationship is representing.

 

mkohler281_0-1697458954962.png

mkohler281_1-1697459309052.png

 

 

1 ACCEPTED SOLUTION
mkohler281
Helper I
Helper I

Thank you for the help, I ended up changing the storage to Import which fixed the relationship so it was no longer limited.   

View solution in original post

4 REPLIES 4
mkohler281
Helper I
Helper I

Thank you for the help, I ended up changing the storage to Import which fixed the relationship so it was no longer limited.   

Anonymous
Not applicable

Hi @mkohler281 ,

As @vojtechsima said, In Power BI Desktop model view, you can interpret a relationship as being limited. A limited relationship is represented with parenthesis-like marks ( ) after the cardinality indicators.

vbinbinyumsft_0-1697620618111.png

A model relationship is limited when there's no guaranteed "one" side. A limited relationship can happen for two reasons:

  • The relationship uses a many-to-many cardinality type (even if one or both columns contain unique values).
  • The relationship is cross source group (which can only ever be the case for composite models).

There are some restrictions related to limited relationships:

  • The RELATED DAX function can't be used to retrieve the "one" side column values.
  • Enforcing RLS has topology restrictions.

For @vojtechsima's workaround, because his storage mode is Import, the MAXX() function could work , but your storage mode is DirectQuery, there are many limitations for this storage mode

vbinbinyumsft_1-1697621410533.png

MAXX function (DAX) - DAX | Microsoft Learn

 

You need to re-create your data model or try to create model in SSAS.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

vojtechsima
Super User
Super User

Hello, @mkohler281 ,

the brackets represents a "Limited relationship" and RELATED is not supported in those:

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

 

You can have a workaround or resolve the "limited relationship".

 

The Workaround can look like this:

vojtechsima_0-1697460265997.png

Column = 
var currentRow = 'fact'[Test]

var matchingRows = MAXX(FILTER(dim, dim[dim] = currentRow), dim[dim])

return matchingRows

you don't even need a relationship for that:

vojtechsima_1-1697460287429.png

 





โœ”
Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

Thank you, but it looks as though this does not work in Direct Query.

 

mkohler281_0-1697461836557.png

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon โ€“ Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save โ‚ฌ200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors