Forum Discussion
PowerBeeEye
5 years agoMicrosoft Employee
Promote headers within Csv.Document
I have multiple CSV files I am trying to combine in a query. I am trying to do this without a function. Two issues I am running into: Empty cells - these throw the next row out of what. I was abl...
IvanRy
3 years agoNew Member
Maybe it will be helpful for other people, just wrap yor Csv.Document() with Table.PromoteHeaders like this:
= Table.AddColumn(#"Removed Other Columns", "Custom", each Table.PromoteHeaders(Csv.Document([Content])))
marvel25
2 years agoRegular Visitor
This is the correct answer.