Forum Discussion
Trying to expand binary content
Hi,
right click on the column
select transform - text
and it opens
If this post isuseful to help you to solve your issue consider giving the post a thumbs up and accepting it as a solution !
- Anonymous4 years agoNot applicable
When i tried above solution then getting below error
- AlexisOlson4 years agoSuper User
The code for this step looks like this:
= Table.TransformColumns(#"Filtered Rows", {{"Content", Text.FromBinary}})You can replace Text.FromBinary with the appropriate function like Excel.Workbook.
= Table.TransformColumns(#"Filtered Rows",{{"Content", Excel.Workbook}})Then it should return tables instead of garbled text.
- Anonymous2 years agoNot applicable
that was what I needed, thanks
- serpiva644 years agoSolution Sage
That's what you get opening a Binary
As you can see it is not a supported data type
Binary data type
The Binary data type can be used to represent any other data with a binary format. Inside the Power Query Editor, you can use it when loading binary files if you convert it to other data types before loading it to the Power BI model. Binary columns aren't supported in the Power BI data model. It exists in the Data View and Report View menus for legacy reasons but if you try to load binary columns to the Power BI model you may run into errors.
Note
If a binary column is in the output of the steps of a query, attempting to refresh the data through a gateway can cause errors. It's recommended that you explicitly remove any binary columns as the last step in your queries.
If you want to get the content of the file it depends on the type (excel, csv etc.)
- fcerullo3 years agoAdvocate ICombining Binary files:I know how to do it by adding a custom column forcsv files =Csv.Document([Content])orExcel files = Excel.Workbook([Content])But, what about .txt files?Is there a command that does the same as above"?my reasoning:I HATE those auto-created transformation files, and I like to keep certain columns to identify dates or original source, which the first to allow me to do, but the Combine button removes.
- Ali54573 years agoFrequent Visitor
Hi, once you have all the binary contents, rather than combining them all, I 'd like to crate separate tables for each binary row because in my SharePoint folder I have different tables with totally different contents, rows and columns. How to do that please?