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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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

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

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]))

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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