krysna
Programmer
- May 20, 2008
- 22
I have a report that is grouped by a field, Fund, and displays a budget vs. historical variance for each fund, colored red, yellow, or green. i.e. if the percentage of the budget that has been spent so far is more than x% different from the percent that has been spent so far in previous years, it shows as red; more than y% off, it shows yellow, and otherwise shows green. I would like to sort the report so that all the red items show up first, followed by the yellow, then the green. I have x and y stored in my db as columns and compare the percent variance formula to that number to figure out what color to show. Does anyone know how I could do the sort (if it can be done)? Thanks for any help!