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
Anonymous
Not applicable

R script visual displays "£" correctly on desktop but as "A£" when published

Hi all,

 

I have an R script visual which has its values in £s. On my desktop this displays perfectly correctly using the following code:

 

pound <- dollar_format(prefix = "£")

data$Value <- pound(data$Value)

 

After publishing this online however the "£" signs have been replaced with "A£" as shown below

Published OnlinePublished Online                       On DesktopOn Desktop

 

Does anyone have any experience with this and/or know a solution?

 

Thanks,

 

Will

4 REPLIES 4
BeardyGeorge
Advocate I
Advocate I

came across a similar problem recently, and I think this webpage will be useful for debugging when this comes up for someone else http://www.i18nqa.com/debug/utf8-debug.html

BeardyGeorge
Advocate I
Advocate I

try using "\u00a3" instead of "£" in case it's some kind of text encoding thing

Anonymous
Not applicable

Hi George,

 

Thanks fro your reply, shortly after posting my problem I had the exact same thought and tried it out but unfortunately the problem persists. It worked perfectly on my desktop but not after publishing online.

 

I agree it must be some kind of encoding problem and online Power BI and desktop Power BI are doing things differently but I can't figure out a solution.

 

Thanks,

 

Will

Anonymous
Not applicable

Also worth noting that previously this value was measured in dollars with a "$" sign rather than a "£". This worked perfectly both online and on desktop so it's only the "£" sign which is causing trouble.

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.

Top Solution Authors