So I have a task to create a column containing month number in the past 12 months (from current execution date). But I find some difficulties to find the right node and maybe some logic behind it to create this list of months.
Maybe you can help me to solve this problem. Thanks in advance!
EDIT: Not sure which order you wanted it. If you are satisfied with the order above, then it’s all good.
But if you want it in the reverse order, you can add a Sorter node at the end, like this:
And sort on the Date column that was generated, in Ascending order:
The result will be in the reverse order of the above: