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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
lrnt12
Frequent Visitor

Measure that calculates values from different columns

Hello Community,

 

I have quite a challenge here. I got these two tables, many-to-one relationship:

                             Table1                                    Table2   

mark.JPG

 areas.JPG

 

What I'm trying to do is to create a measure that will calculate the following expression: Value + (Numerator/Area).  

Any suggestion is highly appreciated!

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @lrnt12,

 

You should create a measure that looks like this:

 

Calculated Measure =
IFERROR (
    CALCULATE (
        SUMX ( Table1; Table1[Value] + Table1[Numerator] / SUM ( Table2[Area] ) )
    );
    BLANK ()
)

You should use the Mark from Table 1 to make this work

 

Regards,

MFelix

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @lrnt12,

 

You should create a measure that looks like this:

 

Calculated Measure =
IFERROR (
    CALCULATE (
        SUMX ( Table1; Table1[Value] + Table1[Numerator] / SUM ( Table2[Area] ) )
    );
    BLANK ()
)

You should use the Mark from Table 1 to make this work

 

Regards,

MFelix

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



lrnt12
Frequent Visitor

Thanks a lot, Felix! Works like a charm!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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