cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
soldier_rong
Helper I
Helper I

Connecting to Oracle database with garbled code

Hi Guys,

I connect to Oracle to query out the data appears garbled? How do I know what the data encoding is after I import my power BI data source? My database is coded as WE8ISO8859P1.

 

I also tried the following code, but it didn't work, still garbled.

= Table.AddColumn(source, "Customer colunm", each Text.FromBinary(Text.ToBinary([COMPANY_NAME], TextEncoding.Utf16), TextEncoding.Ascii))

 

soldier_rong_1-1669799213982.png

 

 

soldier_rong_0-1669799106823.png

Thanks advance.

 

BR,

Soldier Rong

2 REPLIES 2
soldier_rong
Helper I
Helper I

Hi @v-kalyj-msft ,

 

Hope you are well.

 

I found the the oracle server code as the below: American_America.WE8ISO8859P1.

soldier_rong_0-1673415884664.png

So, I changed the key in my PC. However, the field still garbled

soldier_rong_1-1673415919890.png

 

 

soldier_rong_2-1673416040795.png

 

v-kalyj-msft
Community Support
Community Support

Hi @soldier_rong ,

I noticed that you have another same thread and the engineer has gave a solution. Does it work for you? If not, please see if this document can help: 

Characters are garbled with Oracle database - Enterprise Information Management - Support Wiki (sap....

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors