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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
bbass82
Helper I
Helper I

MEASURE INCORRECT? or Should I be using a Calculated Column?

Hi All,

 

Hope all is well. I am new to power BI and having a problem which I think is probably a simple mistake in the measure DAX calculation. I am simply trying to get the difference in dollars (risk) that I am seeing by subtracting my (Shipped dollars) - (Forecast dollars) but for some reason my totals are coming out incorrectly. 

 

I am thinking have something to do with my column set of 'MonthYear' not being able to be recongized in my measure and thinking I need to add something into the DAX for this but not sure what part of the text string I need to change. 

 

Here is my Matrix:

bbass82_0-1732307844819.png

Here is my current DAX calculation for 'Unmatched Risk' (difference):

bbass82_1-1732307902929.png

 

Any help getting my totals to be correct would be greatly appreciated as I really hope someone can point out what I am doing wrong and why. 

 

Thank-you for your time,

Brandon 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @bbass82 ,

 

try like:

measure =

SUM(table[ship...]) - SUM(table[Actual...])

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi All,
Firstly  FreemanZ thank you for your solution!
And @bbass82 ,According to the example data created by ourselves, your formula can run normally in our test environment, if you can provide relevant example data or pbix files, it can better help you solve the problem, looking forward to your reply!

vxingshenmsft_0-1732601257843.png

 

FreemanZ
Super User
Super User

hi @bbass82 ,

 

try like:

measure =

SUM(table[ship...]) - SUM(table[Actual...])

Thank-you FreemanZ, this solution worked perfectly for what was needed in my matrix. I greatly appreciate your help and apologize for the delay in response. 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.