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.
Hello
I'm begining with DAX and I try to create new measure with calculete price in euro; price in local currency from first table [sales] and currency form second [Currency].
Of course, the tables are connected in the model by the currency symbol column.
I can make join and add column with currrency in Sales table, but the better way is try to use measure.
In excel loos like: Price in Euro = [sales]'Price in local currency' * xlookup([sales]"currency local" ; [Currency]"currency"; [Currency]"Ratio_EUR")
Solved! Go to Solution.
Try something like:
= SUMX ( Sales, Sales[PriceInLocalCurrency Column] * RELATED ( Currency[Currency Column] ) )
Try something like:
= SUMX ( Sales, Sales[PriceInLocalCurrency Column] * RELATED ( Currency[Currency Column] ) )
Thank you, works great.
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |