Fix spelling for GroupNumber* params

This commit is contained in:
dfinke
2018-12-07 14:33:38 -05:00
parent e4deb5801e
commit 69f9ba7d17

View File

@@ -122,11 +122,11 @@
#The name of a row field which should be grouped by Number (e.g 0-99, 100-199, 200-299 )
[String]$GroupNumericRow,
#The starting point for grouping
[double]$GroupNumbericMin = 0 ,
[double]$GroupNumericMin = 0 ,
#The endpoint for grouping
[double]$GroupNumbericMax = [Double]::MaxValue ,
[double]$GroupNumericMax = [Double]::MaxValue ,
#The interval for grouping
[double]$GroupNumbericInterval = 100 ,
[double]$GroupNumericInterval = 100 ,
#Number format to apply to the data cells in the PivotTable.
[string]$PivotNumberFormat,
#Apply a table style to the PivotTable.
@@ -258,7 +258,7 @@
if ($GroupNumericRow) {
$r = $pivotTable.RowFields.Where( {$_.name -eq $GroupNumericRow })
if (-not $r ) {Write-Warning -Message "Could not find a Row field named '$GroupNumericRow'; no numeric grouping will be done."}
else {$r.AddNumericGrouping($GroupNumbericMin,$GroupNumbericMax,$GroupNumbericInterval)}
else {$r.AddNumericGrouping($GroupNumericMin, $GroupNumericMax, $GroupNumericInterval)}
}
if ($GroupDateRow -and $PSBoundParameters.ContainsKey("GroupDatePart")) {
$r = $pivotTable.RowFields.Where( {$_.name -eq $GroupDateRow })
@@ -344,11 +344,11 @@ function New-PivotTableDefinition {
#The name of a row field which should be grouped by Number (e.g 0-99, 100-199, 200-299 )
[String]$GroupNumericRow,
#The starting point for grouping
[double]$GroupNumbericMin = 0 ,
[double]$GroupNumericMin = 0 ,
#The endpoint for grouping
[double]$GroupNumbericMax = [Double]::MaxValue ,
[double]$GroupNumericMax = [Double]::MaxValue ,
#The interval for grouping
[double]$GroupNumbericInterval = 100 ,
[double]$GroupNumericInterval = 100 ,
#Number format to apply to the data cells in the PivotTable
[string]$PivotNumberFormat,
#Apply a table style to the PivotTable