Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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 .
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
13 | |
12 | |
10 | |
7 | |
7 |
User | Count |
---|---|
19 | |
14 | |
11 | |
10 | |
10 |