Forum Discussion
AskinY
4 years agoNew 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 Da...
- 4 years ago
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 measureUSD_Amount = SUMX ( DATA, DATA[AMOUNT] * RELATED ( PARITY[PARITY] ) )
tamerj1
4 years agoCommunity Champion
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] ) )