Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 😞 )
Solved! Go to Solution.
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:
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
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:
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