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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Display / Import Mixed Character Set

Hi all,

 

I'm trying to display some Twitter data that I've pulled off a MySQL server. The tweets include not only the 'standard' Western Latin character set, but also Russian cyrillic, Arabic and, just to confound things, emojis too!

 

When I pull these into PowerBI they coming out looking something this: ðŸ‡¨ðŸ‡·ðŸ†šðŸ‡®ðŸ‡· (I believe this is a flag emoji!)

 

Having looked at the data in MySQL I can see that the character sets are encoded correctly and the issue only occurs when I pull it into PowerBI.

 

Can anyone suggest how I might fix this problem?

 

TIA,

 

SamB

1 ACCEPTED SOLUTION

You'd have to do it in the Advanced Editor and the documentation on those functions is really lacking. Perhaps @ImkeF or @MarcelBeug might have some insight into the proper use of those functions. Here is another article that I found that might help. It doesn't use those functions but changes the encoding type on import:

 

https://social.technet.microsoft.com/Forums/en-US/7b29d033-6230-4fa0-aafc-8313ea771f24/change-encodi...

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

In short, adding code below in red blod in your advance editor and blame MS for their casual document.

MySQL.Database("10.181.165.202", "pobot", [ReturnSingleDatabase=true, Encoding=TextEncoding.Utf8])

In addition, the available encoding are

  TextEncoding.Utf8, TextEncoding.Utf16, TextEncoding.Ascii, TextEncoding.Unicode, TextEncoding.BigEndianUnicode, TextEncoding.Windows

Greg_Deckler
Community Champion
Community Champion

Check out the Text.Encoding functions in Power Query:

 

https://msdn.microsoft.com/en-us/library/mt826838.aspx

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi smoupre,

 

Thanks for the reply. I'm pretty new to PowerBI - how would I apply these functions to a column, and which one would I use - the help pages don't have a lot of info!

 

Thanks,

 

Sam

You'd have to do it in the Advanced Editor and the documentation on those functions is really lacking. Perhaps @ImkeF or @MarcelBeug might have some insight into the proper use of those functions. Here is another article that I found that might help. It doesn't use those functions but changes the encoding type on import:

 

https://social.technet.microsoft.com/Forums/en-US/7b29d033-6230-4fa0-aafc-8313ea771f24/change-encodi...

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Ah, OK - thanks for links and assists @Greg_Deckler - much appreciated!

Hello @Greg_Deckler, @Anonymous

I am also facing the similar problem.

The imported data from database is showing me some special characters as explained in the first post.

I am not able to understand how I can set character set to utf8 for this column of table in Advance query option.

Kindly help.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors