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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Garyhb
Frequent Visitor

Fixed Currency conversion change with filters

Currently, my data is in their local currency

Garyhb_1-1645598998563.png

 

i would need assistance on how to convert the currency respectively by just clicking the filter as shown below :

Garyhb_3-1645599169432.png

I have a fixed currency exchange rate in this table :

Garyhb_4-1645599260395.png


Sample data of the sales :

Garyhb_5-1645599284956.png

 

You may download the sample data here

Example 2.pbix (dropbox.com)

 

 

 

 

2 ACCEPTED SOLUTIONS

Hi @Nahid_3152 

My revenue is in different currency like SGD/IDR/MYR so i can't use this measures :

Currentsales = IF(

ISFILTERED('Currency'[CurrencyName]),
SUM(Sheet1[Value])*SUM('Currency'[Rate]),
SUM(Sheet1[Value])
)

View solution in original post

This is my currency table :

Garyhb_0-1645604716829.png


Which has "conversionRate"

This is the revenue data:
Garyhb_1-1645604773593.png

Example 1 : Store 6, the revenue is 68,487,038 IDR and it should be 4,775.8574 USD

Garyhb_2-1645604925546.png

Example 2: Store 4 has 15,392.57 MYR revenue. It should be  3,678.466 USD

Garyhb_3-1645605040660.png

 

 

 



Maybe you can take a look at the sample :

Example 2.pbix (dropbox.com)

Thank you

View solution in original post

6 REPLIES 6
v-luwang-msft
Community Support
Community Support

Hi @Garyhb ,


Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

Best Regards
Lucien

TheoC
Super User
Super User

hi @Garyhb 

 

check this out. Should help you: https://www.sqlbi.com/articles/currency-conversion-in-power-bi-reports/

 

Hope this helps!

Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Nahid_3152
Helper I
Helper I

Hi,

Can you insert your currency value in the currency table?

This is my currency table :

Garyhb_0-1645604716829.png


Which has "conversionRate"

This is the revenue data:
Garyhb_1-1645604773593.png

Example 1 : Store 6, the revenue is 68,487,038 IDR and it should be 4,775.8574 USD

Garyhb_2-1645604925546.png

Example 2: Store 4 has 15,392.57 MYR revenue. It should be  3,678.466 USD

Garyhb_3-1645605040660.png

 

 

 



Maybe you can take a look at the sample :

Example 2.pbix (dropbox.com)

Thank you

Nahid_3152
Helper I
Helper I

Hi,

Create a currency table. Then create a measure using 

Currentsales = IF(Currency TableCurrency TableData modelData model1st Mesure1st Mesure2nd Mesure2nd Mesure
ISFILTERED('Currency'[CurrencyName]),
SUM(Sheet1[Value])*SUM('Currency'[Rate]),
SUM(Sheet1[Value])
)
 

Hi @Nahid_3152 

My revenue is in different currency like SGD/IDR/MYR so i can't use this measures :

Currentsales = IF(

ISFILTERED('Currency'[CurrencyName]),
SUM(Sheet1[Value])*SUM('Currency'[Rate]),
SUM(Sheet1[Value])
)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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