Your product hierarchy is not properly setup, as the P3 SKUs are lying as orphans in the list and not rolling up to their corresponding parent (P2 Products). Please check your action mapping and rebuild the hierarchy before importing transactional data.