Forum Discussion
SanderTK
2 years agoAdvocate II
Adding index column in ADF Power Query
Hi everyone, At the moment I am trying to work around Spark M-code restrictions to create an index column within Data Factory's Power Query. While the option to add an index column is present in...
p45cal
2 years agoSolution Supplier
Starting with a table (Table1) with a single column headed stuff:
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
AddedIndex = Table.FromColumns({Source[stuff],{1..Table.RowCount(Source)}},{"stuff","Index"})
in
AddedIndex