I created this Crosstab report which uses a formula to calculate the average number of appointments scheduled per day. A couple of rows seem correct, but others are not. (I have attached a jpg of the report)
Any help would be appreciated!
Here is the formula (which I received from Abhilash from a discussion a few weeks ago):
9)
Next, Right-click one of the zero value cells in the newly added column >
Calculated Member > Edit Calculation Formula and use this code:
local numbervar i;
local numbervar avg;
local numbervar cnt;
for i := 0 to CurrentColumnIndex-1 do
(
avg := avg + (GridValueAt(CurrentRowIndex, i,
CurrentSummaryIndex);
cnt := cnt + 1;
);
avg/cnt;
Message was edited by: C Warner (Initially thought only first 2 rows were wrong, but other rows are wrong as well)