This commit is contained in:
dfinke
2015-06-05 20:34:16 -04:00
parent 20d84ace37
commit 63ee3908a8

View File

@@ -265,7 +265,8 @@ function Export-Excel {
} }
} else { } else {
foreach ($Item in $PivotData) { foreach ($Item in $PivotData) {
$null=$pivotTable.DataFields.Add($pivotTable.Fields[$Item]) $df=$pivotTable.DataFields.Add($pivotTable.Fields[$Item])
$df.Function = 'Count'
} }
} }
} }