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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Lookup Measure issues

Hi Team,

 

I have 2 tables.

 

Table 1 stores FX rates. Table 2 stores the customer, currency and sales. 

 

I want a measure that looks up currency from Table 2 into currency from Table 1, returning the rate and then dividing by the sales. 

 

So for West Ham it would be: 6,000/0.7567

 

I have done it through Power Query M, but I want to improve my measure writing skills and am stuck. 

 

Table 1:

Currency Rate
EUR1
GBP0.7567
USD1.123

 

Table 2: 

CustomerCurrencySales
West HamGBP6,000
FulhamEUR8,945
ChocolateUSD7,890
1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Anonymous 

try to just create relationships between tables with [Currency] field and then measure like

= DIVIDE( SUM('Table 2'[Sales]), SUM('Table 2'[Rate]) )

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

4 REPLIES 4
az38
Community Champion
Community Champion

Hi @Anonymous 

try to just create relationships between tables with [Currency] field and then measure like

= DIVIDE( SUM('Table 2'[Sales]), SUM('Table 2'[Rate]) )

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

Thanks @az38 !

 

Sometimes I feel like an idiot - such a common sense solution.

 

Thank you

az38
Community Champion
Community Champion

@Anonymous 

don't say so - there are no idiotic questions. It's just a matter of practice. For me, each thread here is a lesson

 

good luck!


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

@az38 Many thanks for your kindness and nice words! 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors