The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi All,
I have attached 2 images below.
They are both in the same table, just different regions. The problem is, for the region EMEA, I need to apply exchange rates. Hence I have used the formula below:
Solved! Go to Solution.
@Anonymous Your images are too small to read. Try this:
R+ Order Value =
VAR __MaterialValue = LOOKUPVALUE('R+ Orders'[Material Value in-week],'R+ Orders'[PartPlantbyYearWeekNum],'Part File'[PartPlantbyYearweekNum])
VAR __ExchangeRate = 'Part File'[Exchange Rates]
RETURN
IF(ISBLANK(__ExchangeRate),__MaterialValue,DIVIDE(__MaterialValue,__ExchangeRate,0))
@Anonymous Your images are too small to read. Try this:
R+ Order Value =
VAR __MaterialValue = LOOKUPVALUE('R+ Orders'[Material Value in-week],'R+ Orders'[PartPlantbyYearWeekNum],'Part File'[PartPlantbyYearweekNum])
VAR __ExchangeRate = 'Part File'[Exchange Rates]
RETURN
IF(ISBLANK(__ExchangeRate),__MaterialValue,DIVIDE(__MaterialValue,__ExchangeRate,0))