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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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