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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Matas
Advocate II
Advocate II

Creating and Switching between Currencies

Hi,

 

I would like to get a suggestion for my issue. Currently, I am receiving many documents in different reporting currencies. So my calculations are as follows:

  1. I am receiving documents with different reporting currencies and with their unique Identifiers (GBP, EUR, USD).
  2. I have a different Currency_Exchange table.
  3. I am merging both tables based on the Unique Identifier (GBP = GBP, USD=USD, GBP=GBP).
  4. After merging, I am expanding the Units_Per_EUR and everything is being calculated based on the conversion in EUR (if 200 USD it will output as  189,97 EUR).

Screenshot_8.png

 

Now I am trying to show the total amount as default in EUR, but also in USD or GBP if the right tile is being pressed or selected as:

Screenshot_10.png

Also, will the Pie Chart will be updated accordingly? And how could I achieve such functionality? Any tips or suggestions would be highly appreciated.

 

Cheers,

Matas

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Matas , A very similar topics ha been solved here, see if that can help

https://www.sqlbi.com/articles/currency-conversion-in-power-bi-reports/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
Matas
Advocate II
Advocate II

Thank you for all the suggestions.

I was able to figure it out pretty much by combining all of your provided information.

Cheers!

speedramps
Super User
Super User

Change your GBP, EUR and DOL queries to a merge with the exchange rate file.
The amounts as a new base currency column eg all GBP. 

 

Then create a Currency pick list table

 

Currency Exchangerate
GBP 1
EUR 1.19
DOL 1.26

 

and this measure

 

GBPAmount =
SUM(Sales[GMPValue)])


Sales in currency =
VAY myexchangerate= SELECT(picklist(Exchangerate))
RETURN
[GBPAmount] * myexchangerate

 

The either add a slicer with the picklist(Currency)

or use the filter menu to specify the picklist(Currency) for each visual.

 

Drag the [Sales in currency] to your visual and it should work.

 

Please click thumbs up and Accepot As Solution, thank you ! 

 

hashtag_pete
Helper V
Helper V

Hello @Matas ,
you could use the switch function as explained here 
(775) DAX Fridays! #15: SWITCH - YouTube
You will need to use explicit measures and an additional table. 
Is that what you are looking for?

best

hashtag_pete

amitchandak
Super User
Super User

@Matas , A very similar topics ha been solved here, see if that can help

https://www.sqlbi.com/articles/currency-conversion-in-power-bi-reports/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors