let
Source = Excel.CurrentWorkbook(){[Name="Table2"]}[Content],
Curve = List.Transform({1..Table.RowCount(Source)}, each Number.Power(_,2)),
cols = Table.ToColumns(Source) & {Curve},
headers = Table.ColumnNames(Source) & {"Curve (Parabola)"},
Result = Table.FromColumns(cols, headers)
in
Result
Book1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Column1 | Column2 | Column1 | Column2 | Curve (Parabola) | ||||
2 | A | col2 item1 | A | col2 item1 | 1 | ||||
3 | B | col2 item2 | B | col2 item2 | 4 | ||||
4 | C | col2 item3 | C | col2 item3 | 9 | ||||
5 | D | col2 item4 | D | col2 item4 | 16 | ||||
6 | E | col2 item5 | E | col2 item5 | 25 | ||||
7 | F | col2 item6 | F | col2 item6 | 36 | ||||
8 | G | col2 item7 | G | col2 item7 | 49 | ||||
9 | |||||||||
Sheet1 |