I'm trying to get a total % that is based on the total value, not a sum of the above values. I work at a university, and am trying to show in a report the total % of graduates that have taken an upgrading and university prep course at some time. I have 3 columns of interest: Grads, UUP_Grads, and a Ratio of the two.
So for example, I have currently:
DEFINE FILE UUP_14_GRADS_2
RATIO1/D5.1% = UUP_GRADS /GRADS *100;
CNTR/I4 WITH CREDENTIAL =1;
END
TABLE FILE UUP_14_GRADS_2
SUM
GRADS AS ''
UUP_GRADS AS ''
RATIO1 AS ''
CNTR NOPRINT
COMPUTE RATIO2/D5.1% = UUP_IND / ONE_IND * 100 / CNTR; AS ''
BY CRED_ORDER NOPRINT
BY LOWEST CREDENTIAL AS 'Credential'
ACROSS LOWEST AY AS ''
The two test columns, ratio1 and ratio2, both in the total row, sum the % values above it, which I don't want. I have looked at some previous posts on this:
http://forums.informationbuild...1057331/m/9767038995http://forums.informationbuild...1057331/m/9967087426http://forums.informationbuild...1057331/m/3691084132Which assume a bit of a different data structure than I have (I think anyway), and I can't get it right with either a DEFINE or a COMPUTE field. Any thoughts?
WebFocus 8.104
Windows 7 Entreprise, SP1