Forum Discussion

Ralfk's avatar
Ralfk
New Member
7 years ago

Problem with Codepage / Special character viuialisation

Hello everybody

 

maybe you can help me with my actual Power BI problem, which causes me a lot of troubles during my first walking attempts with PB:

 

My datasource is a DB2-database (encoding ISO8859-1).

The preview of the imported data in Power Bi shows problems with german special characters, like ‘ö’, ‘ä’, etc.

  1. tried the following solutions until now:
    checking the general language setting:
    -> set to German
    ->Refreshing the data, but without success


  2. adding a custom column in order to adapt the language-problem:


    But the result look quite similar as the original column…

    I  tried several different enodings, but without success.

Can you help me out???



 

 

Regards Ralf

6 Replies

  • v-piga-msft's avatar
    v-piga-msft
    Icon for Resident Rockstar rankResident Rockstar

    Hi Ralfk,

     

    Based on your information, I'm a little confused about your requirement. 

     

    Do you want to convert the special character in german to standard character?

     

    I'm not good at Power Query, ImkeF may help you.

     

    In addition, you could share some data sample and your desired output so that we could understand your requirement better and get the solution.

     

    Best Regards,

    Cherry

    • ImkeF's avatar
      ImkeF
      Icon for Community Champion rankCommunity Champion

      Tbh, that's not my strong suit and I also alway play around with different encodings.

      Lately I had some cases where 65001 and 1250 worked (I'm sitting in Germany as well).

       

      Otherwise you can try to apply the decoding with an optional parameter in your first import-step already: https://msdn.microsoft.com/en-gb/query-bi/m/db2-database 

      • Ralfk's avatar
        Ralfk
        New Member

        Hi Imke,

         

        thanks for your reply!

        I must adsmit that I have no idea how to implement your advice.....

        Is this a function I have to add in the query definition??
        query definition

         

        Regards Ralf

    • Ralfk's avatar
      Ralfk
      New Member

      Hi Cherry,

      i'm sorry to confuse you!
      Well let's try to give some more details:

      These German special characters are already stored correctly in the DB2 -database.

      Example:
      The town, 'Cologne' is called in German 'Köln'. This is what I wanted to see in my example instead  of these strange symbols....

       

      In general I can retrieve these data out of the DB and visualize it without any problems.
      And as I'm working in the same PC with Power BI and other BI-tools, I can not understand what goes wrong .....

      I hope to explain my problem a little bit clearer now....

       

      Regards Ralf