mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-10 21:33:16 +00:00
Fix spelling for GroupNumber* params
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user