I have a "Grouping" issue that I need help with. I am creating reports and setting the grouping criteria dynamically from the code. This works wonderfully accept that in a couple of cases it doesn't give me what I need ordering-wise. Example: I have a dataset containg sales related data which the customer wishes to see grouped by salesperson ID but in sales amount order, descending. This works fine until I have two sales persons with the exact same sales dollars amounts. I didn't think this was likely at all in the real world but low and behold i have a customer who is seeing this exact circumstance. I don't see that grouping allows me to handle this. What I would like to do is order my report by sales amount descending but make sure and do group breaks on a change of the salesperson ID. What is my best option to handle this.
↧