简体   繁体   中英

Dynamic sort group in crystal reports

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM