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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
bbass82
Frequent Visitor

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
v-xingshen-msft
Community Support
Community Support

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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