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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.