I will try to describe it easily.
I'm trying to combine 2 queries into one so I can create a pivot table out of it.
I have made one query from my first Table1 (see below) with Claimfigures for vessels and one query from my second table below with Premiumfigures per vessel.
My problem is that per year each vessel can only have one premium listed per Underwiter, however each vessel can have per year multiple claims. If I combine the two queries I get for each vessel for each claim also the premium listed. So a vessel that has two claims, will also show two times the premiums, which should not be the case. I can't figure out how to solve this.
Would much appreciate if somebody can put me on the right track.
I'm trying to combine 2 queries into one so I can create a pivot table out of it.
I have made one query from my first Table1 (see below) with Claimfigures for vessels and one query from my second table below with Premiumfigures per vessel.
My problem is that per year each vessel can only have one premium listed per Underwiter, however each vessel can have per year multiple claims. If I combine the two queries I get for each vessel for each claim also the premium listed. So a vessel that has two claims, will also show two times the premiums, which should not be the case. I can't figure out how to solve this.
Would much appreciate if somebody can put me on the right track.