Hi
I need to perform an operation for each month end date: find the total amount for records which satisfy certain criteria for each month, and stick these values in a table with the rows corresponding to each month end date. For example, sum all values such that
field1 <= monthenddate(x) and
field2 > monthenddate(x).
I can do it for one month at a time, but need some kind of loop to do it in a neat way for 16 consecutive months (i.e x=1 to 16).
I have tried to define an array in a formula but it doesn't seem to like this. Can anyone help me please?
I need to perform an operation for each month end date: find the total amount for records which satisfy certain criteria for each month, and stick these values in a table with the rows corresponding to each month end date. For example, sum all values such that
field1 <= monthenddate(x) and
field2 > monthenddate(x).
I can do it for one month at a time, but need some kind of loop to do it in a neat way for 16 consecutive months (i.e x=1 to 16).
I have tried to define an array in a formula but it doesn't seem to like this. Can anyone help me please?