mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-14 23:33:18 +00:00
tweaked
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
$xlFile=".\testPivot.xlsx"
|
$xlFile=".\testPivot.xlsx"
|
||||||
Remove-Item $xlFile -ErrorAction Ignore
|
Remove-Item $xlFile -ErrorAction Ignore
|
||||||
|
|
||||||
|
|
||||||
$data =@"
|
$data =@"
|
||||||
Region,Area,Product,Units,Cost
|
Region,Area,Product,Units,Cost
|
||||||
North,A1,Apple,100,.5
|
North,A1,Apple,100,.5
|
||||||
@@ -19,4 +18,4 @@ $data |
|
|||||||
-AutoSize -AutoFilter `
|
-AutoSize -AutoFilter `
|
||||||
-IncludePivotTable `
|
-IncludePivotTable `
|
||||||
-PivotRows Product `
|
-PivotRows Product `
|
||||||
-PivotData @{"Units"="sum"} -PivotFilter Region, Area
|
-PivotData @{"Units"="sum"} -PivotFilter Region, Area
|
||||||
|
|||||||
Reference in New Issue
Block a user