Hey guys,
I'm trying to display the following inbound scenario.
PO# | PO# Item | Material# | PO Qty | Mat Movement Qty
Therefore I can see whether I have received the full amount I have purchased.
The PO# is based on Fact Table 1 and Mat Movement Items based on Fact Table 2 (plus various dimension tables for Material, Vendor etc.)
I join both fact tables through a bridge table but when I have 1 PO with 3 Material Movements it sums up the PO Qty times 3. How can I avoid this in the IDT?
Data after the join:
PO Number | PO Item | Material Number | PO Qty | Material Doc Number | Mat Doc Qty |
---|---|---|---|---|---|
1 | 10 | abc | 15 | 1 | 5 |
1 | 10 | abc | 15 | 2 | 5 |
1 | 10 | abc | 15 | 3 | 5 |
Goal:
PO Number | PO Item | Material Number | PO Qty | Received Qty |
---|---|---|---|---|
1 | 10 | abc | 15 | 15 |
What I get :
PO Number | PO Item | Material Number | PO Qty | Received Qty |
---|---|---|---|---|
1 | 10 | abc | 45 | 15 |
Hopefully you can help out here.