Hi all,
I am having some issues with a simple group by function in the summarize tool. When I separate each bank in its own summarize tool I get the proper output, however when trying to just use one summarize tool I get the below incorrect output. You can see Bank 3 is not grouping properly by the unit price. I need to group by service code, date and unit price by bank. I would like to avoid using separate summarize tools and then trying to re-join the data. I have included a screenshot of how I am currently trying to group/sum in the summarize tool.
Current incorrect output:
| Service Code | Date | Bank 1 Volume | Bank 1 Unit Price | Bank 2 Volume | Bank 2 Unit Price | Bank 3 Volume | Bank 3 Unit Price |
| 12000 | 10/31/2020 | N/A | N/A | N/A | N/A | 3 | 5.5 |
| 12000 | 10/31/2020 | N/A | N/A | N/A | N/A | 16 | 10 |
| 12000 | 10/31/2020 | N/A | N/A | N/A | N/A | 34 | 30 |
| 12000 | 10/31/2020 | N/A | N/A | 3 | 0 | 3 | 30 |
| 12000 | 10/31/2020 | N/A | N/A | 5 | 22 | 5 | 30 |
| 12000 | 10/31/2020 | N/A | N/A | 3 | 50 | 3 | 30 |
| 12000 | 10/31/2020 | 4 | 46 | N/A | N/A | 4 | 30 |
Desired output:
| Service Code | Date | Bank 1 Volume | Bank 1 Unit Price | Bank 2 Volume | Bank 2Unit Price | Bank 3 Volume | Bank 3 Unit Price |
| 12000 | 10/31/2020 | 4 | 46 | 3 | 0 | 3 | 5.5 |
| 12000 | 10/31/2020 | N/A | N/A | 5 | 22 | 16 | 10 |
| 12000 | 10/31/2020 | N/A | N/A | 3 | 50 | 49 | 30 |
