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
BekahLoSurdo
Resolver IV
Resolver IV

Explanation of measure behavior

I am brand new to DAX, can someone please explain this behavior to me? I have two tables:

MeasuresTables.PNGMeasuresTablesExcel.PNG

 

When I add a Measure to find the sum of Sales, it behaves as I would expect (this will eventually be nested in a longer equation but I'm trying to understand how the building blocks work):

 

MeasureSalesSum = SUM(Sales[Sales])

MeasuresSales.PNG

 

But when I add a Measure to find the sum of Budget, it seems to ignore my relationship:

 

MeasureBudgetSum = SUM(Budget[Budget])

MeasuresBudget.PNG

Why is it doing this? I can't seem to find any documentation on Measures working differently for different sides of a One-to-Many relationship. Thank you for helping a brand new DAX coder!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

make sure you are using the project column from the budget table as if you use it from the sales table the context cant flow to the budget table and filter it due to the setup of your relationships. You could enable bidrectional filtering but I stronglly recommend that you do not, as you can usually find a way to solve any problem, with out introducing the problems this can create.

And given you are new you do not want to get involved in that yet.

View solution in original post

4 REPLIES 4
jrscaletta
Helper II
Helper II

Why you want to do that? You already have the Budget sum. This doesn't have sense in my opinion.

I was trying to simplify it because I found the basic behavior at the center of my issue. The full picture is this:

 

I need to calculate the difference between the sales and the budget per project. I am using a calculation that works perfectly well when everything is in one table. When the columns are coming from different tables forged by a relationship, however, it does not work because it is duplicating rows for the "One" side of the relationship:

 

Error.PNG

 

I'd rather not have to move everything into one table as this seems redundant. 

 

If you can figure out the answer to the simplified original post I can fix the rest, or if you prefer to help with the bigger picture I'd appreciate that as well.

Anonymous
Not applicable

make sure you are using the project column from the budget table as if you use it from the sales table the context cant flow to the budget table and filter it due to the setup of your relationships. You could enable bidrectional filtering but I stronglly recommend that you do not, as you can usually find a way to solve any problem, with out introducing the problems this can create.

And given you are new you do not want to get involved in that yet.

Perfect, thank you!

 

Yes, I know enough about bidirectional filters to know that I don't know enough yet.

 

Thanks again. 

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
Top Kudoed Authors