Sequence(1, From.Count()) // create virtual index
.FormulaMap( / iterate over each number in this index
To
.addrow( add row
[Table 2].Name,
From.Name.Nth(CurrentValue), // take the list of values in the column and
put each item on the row corresponding
with number from virtual index
[Table 2].Category,
From.Category.Nth(CurrentValue),
[Table 2].Amount,
From.Amount.Nth(CurrentValue)
)
)