Hi,
I am using Crystal Reports V10 against an SQL database.
I have very simple report which calculates a percentage in a formula at a Group Footer 1 as follows:-
MyPerc = 100 * SUM({Sales.TotalA}, {Staff.Name}) / SUM({Sales.TotalB}, {Staff.Name})
Where Group #1 is Grouped on Staff.Name
The formula calculates correctly but now I want to sort Group #1 by the result of MyPerc. This will give me a report showing Staff Names sorted in sequence of MyPerc. However, the formula is not availale for selection in Group Sort. Can anyone think of way round this problem please.
I am using Crystal Reports V10 against an SQL database.
I have very simple report which calculates a percentage in a formula at a Group Footer 1 as follows:-
MyPerc = 100 * SUM({Sales.TotalA}, {Staff.Name}) / SUM({Sales.TotalB}, {Staff.Name})
Where Group #1 is Grouped on Staff.Name
The formula calculates correctly but now I want to sort Group #1 by the result of MyPerc. This will give me a report showing Staff Names sorted in sequence of MyPerc. However, the formula is not availale for selection in Group Sort. Can anyone think of way round this problem please.