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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting based on Group formula

Status
Not open for further replies.

DrHabi

Technical User
Jan 22, 2002
103
US
The formula below is needed to calculate my Cost of Goods. The problem I am having is trying to sort by lowest t highest. This formula is in my grouping as you can see. If you have ay suggestions that would be great.

IF Sum ({@Credits}, {ZETUP08.dept6}) > 0 then
100 *Sum ({@Debits}, {ZETUP08.dept6}) / Sum ({@Credits}, {ZETUP08.dept6})
 
If you have a value produced by this formula, you should be able to sort lowest to highest

you will need to highlight the filed in design view and select the GROUP SORT EXPERT
you can then select the grouping to decending or assending

hope this is what you need
Rich
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top