Hello,
in my project, we pay bills. I would like to have a table with for every project the amount of money paid befor 2019 and the money paid in 2019.
I made two queries, one correctly summing up the amount in the previous years, one summing up the amount this year.
To get these dates in a single table I want to join them.
Then it turns out, that whatever cardinality I choose, the sums in the join mix up, when there have been more then one payment, either befor or in the year 2019:
The first table shows, that there was 11.750 € paid in 5 payments, the second table, that there was 4.690 € paid in 2 payments.
The third table shows the result of the join. Now it shows, that 5x4.690 = 23.450 and 2x11.750=23.500.
Could someone here either show me a better solution to get the table I want or explain to me, what I should/could change in the join?
Thanks in advance
------------------------------
Ludwig Leijten
------------------------------
#CognosAnalyticswithWatson