Forum Discussion
Juanxi
7 years agoNew Member
Preparing a report for relations between accounts
Hi, I have the following case. I'm managing data with the following structure Record, account and value. Each number record includes two or more accounts (accounts can repeat in several records). The sum of values per each record is equal to zero (always). I'm trying to prepare a report that shows how total value per each account matches with other related accounts into the records, always per total values.
Following an example of the data and the expected result:
| Record | Account | Value |
| AS1 | C1 | 10 |
| AS1 | C2 | -8 |
| AS1 | C3 | -2 |
| AS2 | C1 | 15 |
| AS2 | C2 | -10 |
| AS2 | C4 | -5 |
| AS3 | C2 | -8 |
| AS3 | C5 | 8 |
| AS4 | C1 | 12 |
| AS4 | C2 | -8 |
| AS4 | C3 | -4 |
| C1 | C2 | C3 | C4 | C5 | |
| C1 | 37 | 37 | 22 | 15 | |
| C2 | -26 | -34 | -16 | -10 | -8 |
| C3 | -6 | -6 | -6 | 0 | |
| C4 | -5 | -5 | 0 | -5 | |
| C5 | 8 | 0 | 8 | ||
| Total | 0 | 0 | 0 | 0 | 0 |
Best regards
No RepliesBe the first to reply