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
tiaandp
Frequent Visitor

Currency Symbols on visuals

Hi all

I have secusfully built a currency conversion table in my report with a measure to calculate the value in selected curency.
The user selects the currency they want to see on a slicer.
I then add the symbol to this result in a new measure.

The problem I am facing is to use this result on my visuals, in this case a donut chart.
(The user wants to see currency symbols on the visual not just the top of my report in the totals column and slicer)

Here us the Dax I used to add the currency symbol to the total in selected currency measure:

Value with currency =
    FORMAT([Value In Selected Currency],SELECTEDVALUE('Currency Conversion Rate'[symbol]) & "##.#0")
The problem is the result is a string 😞

Any advice?
7 REPLIES 7
HoangHugo
Solution Specialist
Solution Specialist

Hi

Use format "Currency" and choose type you want, link picture below

Capture 10.PNG

Hi @HoangHugo and @Tahreem24 
The problem is the user wants to change the currency using a slicer. 
So this will not work unfortunatly 😞

I forgot to mention this in the original post, but I added it in now.

HoangHugo
Solution Specialist
Solution Specialist

Hi try to use CURRENCY function to convert your string to currency number, like below

Value with currency =
CURRENCY (
    FORMAT([Value In Selected Currency],SELECTEDVALUE('Currency Conversion Rate'[symbol]) & "##.#0"))

 

Hi @HoangHugo it worked!

So it works for certain currencies but not others,
For instance it works for Dollars $ but not for Korian Won ₩
Any idea why?

HoangHugo
Solution Specialist
Solution Specialist

Maybe Power BI did not regconize your currency symboy? Where is Currency Symbol from?

I used a table with symbols I donwloaded. 

Even if I copy the ₩ symbol from a power bi table after setting currency to 

tiaandp_0-1663583167813.png

 

and do this:

CURRENCY("₩123")
It does not work but when changing to CURRENCY("$123") it works
 
Tahreem24
Super User
Super User

@tiaandp You can try to append the currency symbol by following below screen shot.
First select Column name on which you want to add Currency symbol  --> go to Column tools menu --> select the $ sign (any currency symbol as per your need)

Capture.JPG

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

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.