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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

How to summarize the measure column

Hi!

 

I have searched for a solution for a long time now but can't find. Therefor I post my question here.

 

My goal is to multiply two columns from two different tables but I want the Total of my measure to only summarize the column of my new measure.

 

As shown in picture below I want the sum of Recalculated forecost to sum upwards in the column of my measure.

 

Seb_Andersen_1-1610356295578.png

 

Thanks for your help!

 

1 ACCEPTED SOLUTION
AlB
Super User
Super User

Hi @Anonymous 

1. Create a 1-to-many relationship between Table1[Product] and Table2[Product] 

2. Place Table1[Product] in a table visual

3. Place this measure in the visual

 

Measure =
SUMX (
    NATURALINNERJOIN ( Table1, Table2 ),
    Table1[Forecast] * Table2[Conversion factor]
)

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

 

SU18_powerbi_badge

View solution in original post

3 REPLIES 3
AlB
Super User
Super User

Hi @Anonymous 

1. Create a 1-to-many relationship between Table1[Product] and Table2[Product] 

2. Place Table1[Product] in a table visual

3. Place this measure in the visual

 

Measure =
SUMX (
    NATURALINNERJOIN ( Table1, Table2 ),
    Table1[Forecast] * Table2[Conversion factor]
)

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

 

SU18_powerbi_badge

Anonymous
Not applicable

Thank you @AlB ! Exactly what I needed!

 

Also, thank you @amitchandak for your contribution.

amitchandak
Super User
Super User

@Anonymous , Create a common product dimension table and then create a measure like

 

Sumx(Values(Product[product]), Sum(Table1[Forecast]), Sum(Table2[Conversion Factor]))

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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