在 M 查询中生成列表

Generating a List in M Query

我正在尝试使用 M Query 生成列表,但不是从特定数字开始生成列表,而是希望数字从 1 开始,然后为另一行的每一行加 1 table.

例如,如果我有:

Tbl1 

Col1
A
B
C
D
D

我要生成

Tbl2
Col1
1
2
3
4
5

I want the number to start at 1 and then add 1 for every row on another table.

如果我没理解错的话,这里是:

={1..Table.RowCount(Tab1)}