Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9164

Re: Show only customers having transactions for the range of months

$
0
0

Hi Loed,

You can do it in Bex query if you have 0calmonth2 in your infoprovider and the month range will always be selected within the same year. then you can create 12 RKFs for each month restricting 0calmonth2.

You can create a formula variable with customer exit, in the exit you can read the number of months selected in the range. Then you can create a new formula like:

((RKF_1 > 0) + (RKF_2 > 0) + ... (RKF_12 > 0)) = CUST_EXIT_VAR

 

In each pharanthesis we check if any data exists for that month (will calculate as 1 if exists). So we expect if in all months there exists data, then the total will be equal to the number of months selected.

 

Finally you can create a condition on this new formula to show values 1.

 

Regards

Yasemin...


Viewing all articles
Browse latest Browse all 9164

Trending Articles