mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-14 23:33:18 +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 )
|
#The name of a row field which should be grouped by Number (e.g 0-99, 100-199, 200-299 )
|
||||||
[String]$GroupNumericRow,
|
[String]$GroupNumericRow,
|
||||||
#The starting point for grouping
|
#The starting point for grouping
|
||||||
[double]$GroupNumbericMin = 0 ,
|
[double]$GroupNumericMin = 0 ,
|
||||||
#The endpoint for grouping
|
#The endpoint for grouping
|
||||||
[double]$GroupNumbericMax = [Double]::MaxValue ,
|
[double]$GroupNumericMax = [Double]::MaxValue ,
|
||||||
#The interval for grouping
|
#The interval for grouping
|
||||||
[double]$GroupNumbericInterval = 100 ,
|
[double]$GroupNumericInterval = 100 ,
|
||||||
#Number format to apply to the data cells in the PivotTable.
|
#Number format to apply to the data cells in the PivotTable.
|
||||||
[string]$PivotNumberFormat,
|
[string]$PivotNumberFormat,
|
||||||
#Apply a table style to the PivotTable.
|
#Apply a table style to the PivotTable.
|
||||||
@@ -258,7 +258,7 @@
|
|||||||
if ($GroupNumericRow) {
|
if ($GroupNumericRow) {
|
||||||
$r = $pivotTable.RowFields.Where( {$_.name -eq $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."}
|
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")) {
|
if ($GroupDateRow -and $PSBoundParameters.ContainsKey("GroupDatePart")) {
|
||||||
$r = $pivotTable.RowFields.Where( {$_.name -eq $GroupDateRow })
|
$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 )
|
#The name of a row field which should be grouped by Number (e.g 0-99, 100-199, 200-299 )
|
||||||
[String]$GroupNumericRow,
|
[String]$GroupNumericRow,
|
||||||
#The starting point for grouping
|
#The starting point for grouping
|
||||||
[double]$GroupNumbericMin = 0 ,
|
[double]$GroupNumericMin = 0 ,
|
||||||
#The endpoint for grouping
|
#The endpoint for grouping
|
||||||
[double]$GroupNumbericMax = [Double]::MaxValue ,
|
[double]$GroupNumericMax = [Double]::MaxValue ,
|
||||||
#The interval for grouping
|
#The interval for grouping
|
||||||
[double]$GroupNumbericInterval = 100 ,
|
[double]$GroupNumericInterval = 100 ,
|
||||||
#Number format to apply to the data cells in the PivotTable
|
#Number format to apply to the data cells in the PivotTable
|
||||||
[string]$PivotNumberFormat,
|
[string]$PivotNumberFormat,
|
||||||
#Apply a table style to the PivotTable
|
#Apply a table style to the PivotTable
|
||||||
|
|||||||
Reference in New Issue
Block a user