Forum Discussion

HJDataconsult's avatar
HJDataconsult
Regular Visitor
9 years ago

reading sql table column capital or lowercase letter

Hello,

 

I have imported an sql table in Power BI.

one af the columns includes a letter or is blank.

for example

capital letter L, all articles of an orders are delivered

lowercase letter l, some of the articles are delivered

Blank, there are no articles delivered

By reading the sql table in Power BI in this column all capita land lowercase letters are transformed in capital letters.

Is there a way to solve this problem?

3 Replies

  • v-jiascu-msft's avatar
    v-jiascu-msft
    Microsoft Employee

    Hi HJDataconsult,

     

    Query Editor is case-sensitive while Power Bi is not. There is a workaround that we can use other sign to act as capital or lowercase.

    In Query Editor, we add a conditional column as the picture shows.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Best Regards!

    Dale

  • v-jiascu-msft's avatar
    v-jiascu-msft
    Microsoft Employee

    Hi HJDataconsult,

     

    Could you please mark the proper answer if it's convenient for you? That will be a help to others.

     

    Best Regards!
    Dale

    • HJDataconsult's avatar
      HJDataconsult
      Regular Visitor

      Hi,

       

      Dit is not the solution.

      Alle letters will be transformed in either lower of uppercase.

      I tried to change this is SQL and also here all letters are transformed in lower or uppercase.