msanders67
Technical User
I have a report wherein I need to sort on something other than a group summary field, group field, or database field.
My report retrieves MTD and YTD sales for customers. I have a group that is based on customer_display_name, which is a field in the same db file with the MTD and YTD figures. I must have the group because I have some customer accounts that I need to combine for a YTD sales total.
example: Smith International - California
MTD: 2,500.00 YTD: 10,000.00
Smith International - New York
MTD: 8,000.00 YTD: 30,000.00
will be combined and be displayed as:
Smith International
MTD: 10,500.00 YTD: 40,000.00
This all works fine, except that I also have some sales figures from an old accounting system that I need to add to the YTD sales for some customer_display_names in the group (not all). I then need to sort based on that calculated total in descending order and do a topN sort.
Any ideas?
TIA,
Margo
My report retrieves MTD and YTD sales for customers. I have a group that is based on customer_display_name, which is a field in the same db file with the MTD and YTD figures. I must have the group because I have some customer accounts that I need to combine for a YTD sales total.
example: Smith International - California
MTD: 2,500.00 YTD: 10,000.00
Smith International - New York
MTD: 8,000.00 YTD: 30,000.00
will be combined and be displayed as:
Smith International
MTD: 10,500.00 YTD: 40,000.00
This all works fine, except that I also have some sales figures from an old accounting system that I need to add to the YTD sales for some customer_display_names in the group (not all). I then need to sort based on that calculated total in descending order and do a topN sort.
Any ideas?
TIA,
Margo