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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
justfaryal
New Member

Multiply 2 columns in a visual table - one source is from import, the other from live dataset PBI

justfaryal_0-1671099363825.png

I want to multiply the volumes(from a live connected source) with the $benefit PI1(from a table) and the two tables have countries related (which is connected in modelling view). For context, each country has a different benefit factor which is why for example Belgium volume x 0.057 whereas Italy volume x 0.171. Can someone tell me how to do this? I have tried quick measures, lookup to create the $benefit factor column in the live dataset and other functions but nothing seems to work...(super new to PowerBI 😞

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @justfaryal ,

 

Here are the steps you can follow:

1. Create measure.

Measure =
var _sum1=
SUMX(
    FILTER(ALL(PI1),
    'PI1'[Sold To Country]=MAX('Multiply'[Sold To Country])),[$Benefit PI1])
return
 MAX('Multiply'[Volume]) * _sum1

2. Result:

vyangliumsft_0-1671164940440.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi  @justfaryal ,

 

Here are the steps you can follow:

1. Create measure.

Measure =
var _sum1=
SUMX(
    FILTER(ALL(PI1),
    'PI1'[Sold To Country]=MAX('Multiply'[Sold To Country])),[$Benefit PI1])
return
 MAX('Multiply'[Volume]) * _sum1

2. Result:

vyangliumsft_0-1671164940440.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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