Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to total a Calculated Member

Status
Not open for further replies.

kat50

Technical User
Aug 4, 2009
6
US
I have created a calculated member based on my grand total (left) that I named Second Fee where I say

if (GridValueAt (CurrentRowIndex,CurrentColumnIndex -1 ,CurrentSummaryIndex)
>1 ) then 10 else 6

How can I get a total of this column("Second Fee")? When I right click on the summary it is telling me that the sum is on the value I used to create the grand total???

 
YOu will have to use a global variable which is evaluated at the same point, place formula in same location and suppress so not visible.

@Secoondfeetot

global numbervar secfeetot eval;

if (GridValueAt (CurrentRowIndex,CurrentColumnIndex -1 ,CurrentSummaryIndex)
>1 ) then secfeetot:= secfeetot+10 else secfeetot:= secfeetot+6

In report footer

@Secoondfeetot disp

global numbervar secfeetot;

Ian





 
Thank you so much, but I am afraid I do know know how to enter this formula. Do I do this within my Cross tab as a calculated member?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top