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
mcray11
Helper I
Helper I

Table Visualization: Using calculated column to run formula on columns from two tables

Hi All,

 

I'm not very familiar with DAX and am struggling to combine data from two tables in a table or matrix visualization. The two tables in question do not have a direct relationship to each other, but rather through a third table. However when I try the RELATED function to pull in values from one or the other, the relevant tables are not available. Even when trying RELATED in the third table that should link them both, neither is available. 

The end goal is to have something like:

= 'Table1'[Column4]/'Table2'[Column2]

 

The table visualization itself does display data from both my tables, although I'm having another error there. I don't have data in both tables for the entirety of the time period, but the table appears to be multi-matching the available data to all points in time.

Any suggestions?

Thanks

2 REPLIES 2
sboulanger
Helper I
Helper I

Don't forget that a RELATED function can only work on the * side of an 1 to * relationship. 

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.