Forum Discussion

alkor777's avatar
alkor777
Frequent Visitor
9 years ago
Solved

Binary data

All our primary keys are stored in binary format, so I can append tables in the query but I can't link tables, As a result, I can't transform data on report level because my primary keys don't show up. Is there any way in dax to transform binary data to another format string, so I can see these column in the report?

  • Anonymous's avatar
    Anonymous
    9 years ago

    Hi alkor777,

    I am afraid that you are not able to use DAX to transfer binary data to another format string.

    Based on my test, when I import SQL Server table which contains binary data to Power BI Desktop, even if I can see the binary data column in Query Editor of Power BI Desktop, the column is removed from the resulting table in Data view and Report view, as shown in the following screenshot.


    As stated in this article, this binary data type column is currently not supported in Power BI Desktop, and an idea about this issue has been submitted in this link, please vote it. In your scenario,  you would need to change the data type of primary keys columns in the original data source.

    Thanks,
    Lydia Zhang

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi alkor777,

    I am afraid that you are not able to use DAX to transfer binary data to another format string.

    Based on my test, when I import SQL Server table which contains binary data to Power BI Desktop, even if I can see the binary data column in Query Editor of Power BI Desktop, the column is removed from the resulting table in Data view and Report view, as shown in the following screenshot.


    As stated in this article, this binary data type column is currently not supported in Power BI Desktop, and an idea about this issue has been submitted in this link, please vote it. In your scenario,  you would need to change the data type of primary keys columns in the original data source.

    Thanks,
    Lydia Zhang

    • JayeshF's avatar
      JayeshF
      Frequent Visitor

      I found solution to this problem

       

      Just select the column that is having binary data in query editer and click right >> transform >> text and it is done. click close and apply you will be able to see the column with appropriate text, which otherwise was not available to see in table view.