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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Dane
Helper I
Helper I

Calculations between two columns in unrelated tables

I have two columns I have created in a BI report that are in tables that are unrelated. The first table contains the first custom column titled TrackingHistory[_BeginningFootage], and the second table contains a column titled InventoryTransDetail[_TotalGoodFootage]. Ideally, I would like to be able to subtract the good footage from the beginning footage to find a waste factor but have not been able to get an accurate number in creating a measure. Any ideas on how this can be done on these two unrelated tables? 

4 REPLIES 4
Dane
Helper I
Helper I

I have created a measure to calculate was basically taking the sum of the starting footage and subtracting the sum of the ending footage. If I look at the chart for the entire YTD or even a month the numbers dont match (first screenshot). However if I drill into a specific week or day the numbers match. Any idea with what I am doing wrong?

 

Dane_0-1679431534396.png

 

Dane_1-1679431691531.png

 

Does anyone have some advice on how to fix this issue? Basically, a measure I have created to calculate the difference between starting and ending footage is calculating incorrectly when I look at the data in aggregate, when I drill into a specific day it is correct.

Ahmedx
Super User
Super User

Share some data to work with (in a format the can be pasted in an MS Excel file) and show the expected result.

ichavarria
Solution Specialist
Solution Specialist

Hi @Dane,

 

Why are they unrelated? Is it that you do not want them to be related? Because if they are unrelated, you will not be able to create a measure using fields from both. 

 

My suggestion is to first find a way in which you can relate them. Power BI recommends the star schema, in which you have the dim tables around the fact: Understand star schema and the importance for Power BI - Power BI | Microsoft Learn.

 

Once the tables are realted, you will be able to create measures. 

 

 

Best regards, 

Isaac Chavarria

If this post helps, then please consider Accepting it as the solution and give Kudos to help the other members find it more quickly

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors