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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Change each value in cell to its respective currency

Hi all,

 

I have a small data set of value,

Location

Cost
PNG26 MYR
JPN88 YEN
BBU100 EURO

 

And I want to put the respective currency symbol in my report for each of the value. I do tried some steps back then but all value are stated in EURO. Is it possible to do this? Thank you.

 

 

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi, @Anonymous 

I am not sure how your data model looks like, but please check the below.

It is one of the many ways to just add currency symbols. 

 

Picture7.png

 

Cost Total with Currency =
IF (
ISFILTERED ( 'Locations Info'[Location] ),
SUMX ( Costs, Costs[Cost] ) & " "
& SELECTEDVALUE ( 'Locations Info'[Currency] )
)
 
 
 

Hi, My name is Jihwan Kim.


If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.


Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
OwenAuger
Super User
Super User

Hi @Anonymous 

I would actually recommend using a Calculation Group with a format string conditional on the selected currency.

 

This article covers a similar situation.

 

I have attached a PBIX illustrating how you could set this up.

 

1. First I structured the data so that there is a column containing the currency name separately from the value.


2. Then I created a Calculation Group called "Number Format", with a single Calculation Item "Currency Format". This Calculation Item has

  • Expression: SELECTEDMEASURE()
  • Format String Expression that depends on the selected currency (may need tweaking):
VAR ExistingFormatString = 
    SELECTEDMEASUREFORMATSTRING ()
VAR SelectedCurrency = 
    SELECTEDVALUE ( Cost[Currency] )
VAR CurrencySymbol = 
    SWITCH ( 
        SelectedCurrency,
        "EURO", """€""",
        "YEN", """¥""",
        "MYR", """RM""",
        "" -- default to no symbol
    )
VAR NumberFormat = 
     CurrencySymbol & ExistingFormatString
RETURN
    NumberFormat​

 

 

3. Then if you filter on this Calculation Item in the report, the numbers are formatted appropriately in the case of a single currency. If multiple currencies are summed (should be avoided) then the symbol is omitted.

OwenAuger_0-1620703314069.png

Regards,

Owen


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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