I need to do exactly what is described here: Replace all error values of all columns after importing datas (while keeping the rows).
What I don't know is how to integrate this code into the existing code within Power Query. Currently I have the code below, producing a sample file which is then applied to a number of files originating from a folder. I need to get the code after the row starting #"Promoted Headers" and before the "in" row, as already indicated, not sure how? I would be grateful for some expert advice!
let
Source = Excel.Workbook(#"Sample File Parameter1", null, true),
#"Filtered Rows" = Table.SelectRows(Source, each ([Hidden] = false)),
#"Master doc_Sheet" = #"Filtered Rows"{[Item="Master doc",Kind="Sheet"]}[Data],
#"Removed Top Rows" = Table.Skip(#"Master doc_Sheet",1),
#"Promoted Headers" = Table.PromoteHeaders(#"Removed Top Rows", [PromoteAllScalars=true])
in #"Promoted Headers"