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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Cant subtract a column from a measure from another table

Hi guys,

 

Power BI is not working how i would think. I am attempting to subtract a column (Smelter load forecast) from a measure (Total Smelting Load):

formula.PNG

 

The values of "Smelter Forecast vs Actual Delta" are way too large:

Data.PNG

I cant help but think that somehow my "date" linking is messing something up even though they have 1:1 relationships: 

tables.PNG

 

Any guidance would be appreciated. Thanks.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I figured it out. I needed to create a measure and subtract the summed columns from eachother: 

Smelter Forecast vs Actual = sum('Forecast'[Smelter Load Forecast])-sum('Load Data'[Total Smelting])
 
Thanks guys.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I figured it out. I needed to create a measure and subtract the summed columns from eachother: 

Smelter Forecast vs Actual = sum('Forecast'[Smelter Load Forecast])-sum('Load Data'[Total Smelting])
 
Thanks guys.
Anonymous
Not applicable

Can you set the relationships to Single direction and if that changes thte values? I always like to avoid multiple dual directional filters.

Anonymous
Not applicable

Good tip. It didnt change any values however.

tables.PNG

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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