Forum Discussion
Anonymous
4 years agoNot applicable
Expression Error: The Type specified wasn't recognized. Dataflow Cust Function
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 dat...
- 4 years ago
try without the "as table" part
(Filebinary) =>
lbendlin
4 years agoSuper User
what type did you specify? Please show the relevant bits of your Power Query code.
- Anonymous4 years agoNot applicable
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"