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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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