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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ashutosh
Helper I
Helper I

Calculated column based on two different Tables

I have three tables: 

Table 1               Table 2                Table 3

 

There is relationship between Table 1 & Table 2 and Table 1 & Table 3, I am not able to make relationship between Table 2 and Table 3 because of many to many relationship. 

 

Now I want to perform a caluclated column in Table 2 which includes one column from Table 3, it's a Date difference calculation.

 

How can I do that, Related is not working here, since there is no direct relationship between Table 2 and Table 3.

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee


@ashutosh wrote:

I have three tables: 

Table 1               Table 2                Table 3

 

There is relationship between Table 1 & Table 2 and Table 1 & Table 3, I am not able to make relationship between Table 2 and Table 3 because of many to many relationship. 

 

Now I want to perform a caluclated column in Table 2 which includes one column from Table 3, it's a Date difference calculation.

 

How can I do that, Related is not working here, since there is no direct relationship between Table 2 and Table 3.


@ashutosh

Table2 and Table3 actually have relationship. Could you post more details about your those 3 tables and the expected output.

By the way, could you try to create a calculated column in Table2 like 

Column = CALCULATE(SUM(Table3[one column]))
ashutosh
Helper I
Helper I

@Greg_Deckler Please help me in here. Thanks in advance 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.