Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
need some help on below requirment.
i have a Sales Table in Power BI , it contains the amount of sales and the corrensponding Currency. see below screenshot.
| Item | Curency | Amount |
| 1 | CNY | 100 |
| 2 | CNY | 300 |
| 3 | HKD | 200 |
| 4 | INR | 1000 |
| 5 | INR | 2000 |
| 6 | NOK | 500 |
besides, i also have another table which contains the exchange rate with 2 years data.
| Year | From Currency | To Currency | Rate | Description |
| 2023 | CNY | EUR | 0.135 | In Year 2023, 1 CNY = 0.135 EUR |
| 2023 | HKD | EUR | 0.121 | |
| 2023 | INR | EUR | 0.012 | |
| 2023 | NOK | EUR | 0.099 | |
| 2024 | CNY | EUR | 0.127 | |
| 2024 | HKD | EUR | 0.116 | |
| 2024 | INR | EUR | 0.011 | |
| 2024 | NOK | EUR | 0.089 |
my requirment is to create a measure which can calcuate the total amount of the sales with currency EUR, based on the selection of the year( put a slicer in the report page , it will has 2 value, one is 2023, and another is 2024). how to realize this ?
thanks in advance for your time and support.
Solved! Go to Solution.
Hi,
Yes, sorry about that I forgot to fix the total calculation.
Proud to be a Super User!
Hi,
Here is a measure for this:
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
Proud to be a Super User!
HI ValtteriN,
many thanks for your help. i tried the measure that you created. seems the total amount is not correct. for example, if we choose 2024 as the year value , and total amount of sales is 364.90. actually, the number should be 151.5(12.7+38.1+23.2+11+22+44.5)
Hi,
Yes, sorry about that I forgot to fix the total calculation.
Proud to be a Super User!
Hi ValtteriN, many thanks for your time and support. it works now. really appreciated .
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 17 | |
| 12 |