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
AskinY
New Member

USERELATIONSHIP

Hi Everyone,

 

I need to get each Currency Type Parity and multiple the Amount. How can i get the relationship between two tables and create a measure for the USD_Amount calculation? What is the Dax formula?

 

PARITY Table;

CUR_TYPEPARITY
EUR1,15
GBP1,6

 

DATA Table

CUR_TYPEAMOUNT
EUR100
GBP120

 

Thank you

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @AskinY 

open the the data model tab, click and hold on the the CUR_TYPE column of the PARITY table, drag to the CUR_TYPE column of the DATA table. Make sure the relationship is one to many (PARITY filters DATA). 
Then create your measure

USD_Amount =
SUMX ( DATA, DATA[AMOUNT] * RELATED ( PARITY[PARITY] ) )

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @AskinY 

open the the data model tab, click and hold on the the CUR_TYPE column of the PARITY table, drag to the CUR_TYPE column of the DATA table. Make sure the relationship is one to many (PARITY filters DATA). 
Then create your measure

USD_Amount =
SUMX ( DATA, DATA[AMOUNT] * RELATED ( PARITY[PARITY] ) )

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.