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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

relationship tables explaining

Hi, 

I was wondering about the following relationship between 2 or more tables.
Example: I have 2 tables that has the following relationship-->

Coan7_0-1630062674185.png

In table B have a calculated column that shows the max value for each of the Item in table A and it shows the correct max value from table A for the Items :

Coan7_1-1630062747387.png


How is the max value from table A is calculated when there is only a 1 directional relationship/filter from table B to A, is there a hidden relationship back from A to B, ie values from A goes to B???

Could someone explain this to me?????????????



 

4 REPLIES 4
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

If you want to learn more details ,refer the following articles.It is very detailed and useful, and I hope it will help you.

bidirectional-relationships-and-ambiguity-in-dax

Bi-directional relationship guidance

 

 

Best Regards

Lucien

FarhanAhmed
Community Champion
Community Champion

Actually when you put CALCULATE in expression it changes the Evaluation context of the expression. It changes it to rows that it belongs to otherwise if you put MAX(Column) only without specifying the CALCULATE the whole table will be evaluated in calculated column.







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




Anonymous
Not applicable

Great!

Still, how does the max value flow from table A to B when there is no relationship flowing from A to B ---> with just a simple calculate(max(table A(value)). At least with the MAXX function it is easier to understand that it is iterating through table A to find max value.

 

amitchandak
Super User
Super User

@Anonymous, Ideally in table B you should do like

new column =

maxx(relatedtable(TableA), TableA[Value])

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.