Database

[{PartnerName:"Company A",MarketExpertese:[{Sector:{Code:1,TotalYears:1,TotalMonths:20,TotalClients:10}},{Sector:{Code:2,TotalYears:2,TotalMonths:20,TotalClients:10}},{Sector:{Code:3,TotalYears:3,TotalMonths:20,TotalClients:10}}]}]

Query

db.collection.aggregate([{$project:{"_id":0,"PartnerName":1,"Teste":{"$map":{"input":"$MarketExpertese","as":"elem","in":{SectorCode:"$$elem.Sector.Code",TotalYears:"$$elem.Sector.TotalYears",}}}}}])

Result