Dynamic sort group in crystal reports

938 Views Asked by At

I have a sales report grouped by city and country. I need to change the order, some times the groups will be sorted by the total of sales and another times will be sorted by name (alphabetic). How can I do it? I'm using VS2013 C# and the tools of Crystal Reports.

1

There are 1 best solutions below

4
On BEST ANSWER

You need to create a formula with if else conditions and use the formula to create a group....

Best approach would be create a parameter and depending on the parameter selection write if else and use the formula in group expert