Hi experts,
I am having trouble with creating the query below in Bex.
Document Month (t) | Document Month (t-1) | Document Month ( [t-2 , t-3] ) | Document Month ( [t-4 , t-6] ) | Document Month ( [t-6 , t-18] ) | |
Collection Month (a) | Collections made in month (a) belongs to documents from month (a) | Collections made in month (a) belongs to documents from month (a-1) | Collections made in month (a) belongs to documents from months between (a-2) and (a-3) | Collections made in month (a) belongs to documents from months between (a-4) and (a-6) | Collections made in month (a) belongs to documents from months between (a-6) and (a-18) |
Collection Month (b) | Collections made in month (b) belongs to documents from month (b) | Collections made in month (b) belongs to documents from month (b-1) | Collections made in month (b) belongs to documents from months between (b-2) and (b-3) | …. | …. |
Collection Month (c) | Collections made in month (c) belongs to documents from month (c) | Collections made in month (c) belongs to documents from month (c-1) | …. | …. | …. |
Collection Month (d) | …. | …. | …. | …. | …. |
Collection Month (e) | …. | …. | …. | …. | …. |
(Collection Month in the rows is characteristic, document months in the columns are selections)
Here, Since Collection month and Document Month -clearly- different characteristics, I tried replacing a variable (which filter document month in the selections) with a variable which replaced with Current Member of Collection Month.
Unfortunately, this use is not possible.
Is there any way to build such a structure in Bex?
Kind Regards,
Ceyhun.