mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-04 09:33:34 +00:00
Updated
This commit is contained in:
39
README.md
39
README.md
@@ -20,6 +20,45 @@ iex (new-object System.Net.WebClient).DownloadString('https://raw.github.com/dfi
|
||||
|
||||
# What's new
|
||||
|
||||
#### 4/18/2016
|
||||
Thanks to [Paul Williams](https://github.com/pauldalewilliams) for this feature. Now data can be transposed to columns for better charting.
|
||||
|
||||
```powershell
|
||||
$file = "C:\Temp\ps.xlsx"
|
||||
rm $file -ErrorAction Ignore
|
||||
|
||||
ps |
|
||||
where company |
|
||||
select Company,PagedMemorySize,PeakPagedMemorySize |
|
||||
Export-Excel $file -Show -AutoSize `
|
||||
-IncludePivotTable `
|
||||
-IncludePivotChart `
|
||||
-ChartType ColumnClustered `
|
||||
-PivotRows Company `
|
||||
-PivotData @{PagedMemorySize='sum';PeakPagedMemorySize='sum'}
|
||||
```
|
||||

|
||||
|
||||
|
||||
Add `-PivotDataToColumn`
|
||||
|
||||
```powershell
|
||||
$file = "C:\Temp\ps.xlsx"
|
||||
rm $file -ErrorAction Ignore
|
||||
|
||||
ps |
|
||||
where company |
|
||||
select Company,PagedMemorySize,PeakPagedMemorySize |
|
||||
Export-Excel $file -Show -AutoSize `
|
||||
-IncludePivotTable `
|
||||
-IncludePivotChart `
|
||||
-ChartType ColumnClustered `
|
||||
-PivotRows Company `
|
||||
-PivotData @{PagedMemorySize='sum';PeakPagedMemorySize='sum'} `
|
||||
-PivotDataToColumn
|
||||
```
|
||||
And here is the new chart view
|
||||

|
||||
#### 4/7/2016
|
||||
Made more methods fluent
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user