ramblinrose
MIS
I am using CRXI and have a question regarding supression of a group based on a comparison running total in the detail line.
The data I have on the report that I am analyzing is a number field ({BI_DTL.PAY_MNTH}) that represents year month and is as follows:
BI_DTL.PAY_MNTH
200608
200609
200610
200611
200612
200701
200702
200705
200706
My goal is to analyze each detail record to see if their are 6 consectutive paymonths. I have created a running total counting each record based on the following formula: {BI_DTL.PAY_MNTH} - previous ({BI_DTL.PAY_MNTH}) in [1, 89].
Reset is based on the formula: {BI_DTL.PAY_MNTH} - previous ({BI_DTL.PAY_MNTH}) <> [1, 89]
So my detail results are as follows:
BI_DTL.PAY_MNTH RT
200608 0
200609 1
200610 2
200611 3
200612 4
200701 5
200704 0
200705 1
200706 2
I want to supress the groups based on the maximum RT total for the lowest group < 5.
Of course I am getting the message that the RT field can not be evaulated.
Is there another way I can accomplish this.
Thank you.
The data I have on the report that I am analyzing is a number field ({BI_DTL.PAY_MNTH}) that represents year month and is as follows:
BI_DTL.PAY_MNTH
200608
200609
200610
200611
200612
200701
200702
200705
200706
My goal is to analyze each detail record to see if their are 6 consectutive paymonths. I have created a running total counting each record based on the following formula: {BI_DTL.PAY_MNTH} - previous ({BI_DTL.PAY_MNTH}) in [1, 89].
Reset is based on the formula: {BI_DTL.PAY_MNTH} - previous ({BI_DTL.PAY_MNTH}) <> [1, 89]
So my detail results are as follows:
BI_DTL.PAY_MNTH RT
200608 0
200609 1
200610 2
200611 3
200612 4
200701 5
200704 0
200705 1
200706 2
I want to supress the groups based on the maximum RT total for the lowest group < 5.
Of course I am getting the message that the RT field can not be evaulated.
Is there another way I can accomplish this.
Thank you.