Hello
What do you mean overriden and get count as 0.
$group: {
_id: “$zipfile_dt”,
Fincnt: {$addToSet: “$finid”},
Issuecnt: {$addToSet: “$issueid”}
}
Add fields like that?
Maybe like that?
$group: {
_id: “$zipfile_dt”,
acount: {$addToSet: {"finid" : “$finid”, "issueid" : "$issueid"}}
}
If you give example data in,how they should become,and your query,it could help alot.