```MOD(ROW_NUMBER() OVER (ORDER BY {trandate}), 2)...
# general
m
Copy code
MOD(ROW_NUMBER() OVER (ORDER BY {trandate}), 2)
works in the forumla
👍🏻 1