Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How to convert Binary data from DB to Power BI

I have SQL table, some column is Binary data type at DB, after I connect to Power BI , those column all show Binary, I try convert to text, but showing different value with DB, Do we have any other way to convert the Binary column. Thank you73BKQ}9NV6CM{D8`FU%MQY9.jpgYF`VYVNL2CS(DIN9CZEDD{R.png

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

Does that make sense? If so, kindly mark my answer as a solution to close the case.


Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

3 REPLIES 3
pzhirnov
New Member

When importing data, you can add a custom column where you can convert the field data to the desired format.

For example so:

pzhirnov_0-1672565030052.png

It works well! Good luck!

 

v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

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. 


1.PNG

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.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @Anonymous,

 

Does that make sense? If so, kindly mark my answer as a solution to close the case.


Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.