Forum Discussion

ger's avatar
ger
Frequent Visitor
9 years ago

Binary data Oracle data type

Hello,

 

We a have a problem accessing Binary data in Oracle. This is not image/blob data. Can see the columns while in query view. When the query is run the columns disappear from the report view and cannot be used. This happens in both import and direct query mode.

 

How to deal with Binary data types in Power BI?

 

Regards

 

Ger

9 Replies

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Community Support

    Hi ger,

     

    Which kind of Binary data type did you store on Oracle database? What do you mean " Can see the columns while in query view. When the query is run the columns disappear from the report view and cannot be used. This happens in both import and direct query mode."? Can you share some screenshots to clarify the issue?

     

    By the way, make sure you are using the latest desktop version 2.43.4647.541.

     

    Best Regards,
    Qiuyun Yu

    • ger's avatar
      ger
      Frequent Visitor

      Hi,

       

      Desktop is the latest version 2.43.4647.541 64-bit (February, 2017)

       

      The database is the backend of an off-the-shelf product.

      This is the Query Editor view of one of the tables. The Binary data type is highlighted.

       

       

      It cannot be expanded using the down arrows, as would be seen with a file.

       

      To simply the example, two cols are chosen.

       

      Close and apply the query. Look at the Feilds list in Report view, CATEGORY (alpha numeric type) is there, AFFECTED_RC is not.

       

       

      This is direcy query mode. Its the same behaviour in import mode, which can't be used anyway because of volume of data.

       

      The data in the fields, and there are many like this. The content is not an image or other binary type, is more like a alphanumneric string.

       

       

      Does this help clarify?

       

       

      • hugoberry's avatar
        hugoberry
        Responsive Resident

        You can apply a transformation for the Binary column as Text.FromBinary.

         

        = Table.AddColumn(YourTable, "Text_CATEGORY", each Text.FromBinary([CATEGORY]))

         

         

  • leed's avatar
    leed
    Advocate II

    Hi ger

    Are you still stucking in this problem or you know how to get out of this?

    Thanks,

    Dung Anh

    • pfalicoff's avatar
      pfalicoff
      New Member

      Hello..

      Any news on this, if this can be resolved?

       

      We are trying to build our dataset, using the query builder, making relationships between tables where the PK is a binary raw type column. The problem, is Power BI, doesn't show this columns, so we can't make the relationships. We don't want to build the dataset with a predifined sql, as this is not performant.

       

      Any help will be appreciate it.

       

      Microsoft, never answer or help on this issue. Or even advised if this will be resolved in future versions of Desktop,

       

      Regards

      Pablo

  • Yes...Any news on relsoving this? Did you manage to import a Oracle Blob? Or did you figure out some sort of work-a-round?