Quantcast
Channel: All Power Query posts
Viewing all articles
Browse latest Browse all 122259

Re: Binary data Oracle data type

$
0
0

 

Unfortunately no, it gives a warning about adding a step that results in a query that is not supported

in DriectQuery mode.

 

Am trying something like this -

 

let
    Source = Oracle.Database("odsprd", [HierarchicalNavigation=true]),
    DTMRT_ADS = Source{[Schema="DTMRT_ADS"]}[Data],
    TRILL_CALL_REQ1 = DTMRT_ADS{[Name="TRILL_CALL_REQ"]}[Data],
    #"Removed Other Columns" = Table.SelectColumns(TRILL_CALL_REQ1,{"AFFECTED_RC", "CATEGORY", "ID", "ZCR_LOCATION"}),
    #"Duplicated Column" = Table.DuplicateColumn(#"Removed Other Columns", "AFFECTED_RC", "AFFECTED_RC - Copy"),
    #"Added Custom" = Table.AddColumn(#"Duplicated Column", "Custom", each Text.FromBinary([AFFECTED_RC]))
in
    #"Added Custom"

 

 

Interestingly, if the offending column is simply copied and no manual transform applied, it seems to work. I suspect the problem centres on trying to find the data type from the binary.

 

This does not feel like a solution, maybe I got lucky with the one piece of data where this will work.

 


Viewing all articles
Browse latest Browse all 122259

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>