This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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.
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])
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
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.
Does it work to add a custom column with Binary.ToText([BinaryColumn])?
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.