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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

PowerQuery and Oracle Raw column

Trying to create a dataflow against an oracle db where the PKs are guids stored as Raw.  PowerQuery thinks that it is a binary and drops the column as complex type.  Cant convert to a different datatype as the option is disabled and just shows binary.

 

 

4 REPLIES 4
O_oo_O
New Member

This is kind of dirty, but it does the trick: concat an empty string to the columns that give you trouble as done below.

= Oracle.Database("MYDATABASE", [Query="select t.guid_column || '' from mytable t", CreateNavigationProperties=false])

Anonymous
Not applicable

Hi @Anonymous ,


Sorry to disturb you...


But did I answer your question ? Please mark my reply as solution. Thank you very much.

 

Best Regards,
Stephen Tao

Anonymous
Not applicable

Hi @Anonymous ,

 

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.

 

Reference: Applied steps

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mahoneypat
Microsoft Employee
Microsoft Employee

Does it work to add a custom column with Binary.ToText([BinaryColumn])?

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.