We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Good Day, I created a function in PBI Desktop Query Editor. and it works fine to process the files. Then I copied this function in a Dataflow which was okay. but when I invoke the function in the dataflow to add a New column, and pass the required input which is binary content; I get this error. I tried googling but couldn;t find anything useful.
Would really appreciate if anyone can advise how to fix this.
Solved! Go to Solution.
what type did you specify? Please show the relevant bits of your Power Query code.
Hi, here's the power query code:
(Filebinary as binary) as table=>
let
Source = Excel.Workbook(Filebinary),
#"Cost_Sheet" = Source{[Item="Cost Info",Kind="Sheet"]}[Data],
#"Removed Top Rows" = Table.Skip(#"Cash_Sheet",91),
#"Removed Other Columns" = Table.SelectColumns(#"Removed Top Rows",{"Column2", "Column3", "Column4", "Column5", "Column6", "Column7"}),
#"Kept Range of Rows" = Table.Range(#"Removed Other Columns",0,3),
#"Promoted Headers" = Table.PromoteHeaders(#"Kept Range of Rows", [PromoteAllScalars=true]),
in
#"Promoted Headers"
try without the "as table" part
(Filebinary) =>
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 7 | |
| 6 | |
| 5 |