Forum Discussion
TMyers790
Aug 18, 2022Copper Contributor
All data for 2 columns contained in one cell in each column
I am trying to bring in data from a PDF file (it is a converted excel file so it plays nice for the most part) but one of the tables I am trying to import isn't reading right and all the data is cram...
- Aug 19, 2022
Thanks Riny_van_Eekelen for bringing the fact that I abused of List.Accumulate + there was an easier solution. A variant of Riny_van_Eekelen's approach:
let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content], SplitEachColumns = List.Transform( List.Combine( Table.ToColumns(Source) ), each Text.Split(_, "#(lf)") ), TableFromColumns = Table.FromColumns(SplitEachColumns, Table.ColumnNames(Source)) in TableFromColumns