diff options
author | xuri <xuri.me@gmail.com> | 2020-04-09 01:00:14 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-04-09 01:00:14 +0800 |
commit | e36650f4ffd3e305d2c3834620f97ec382cf6faf (patch) | |
tree | 3d0a20cdacb43d3beead9d19bab327da7499e786 /pivotTable_test.go | |
parent | a2e1da8d9d90ed71a33523cfe2c5231cd0b5fad9 (diff) |
Resolve #598, filter support for AddPivotTable
Diffstat (limited to 'pivotTable_test.go')
-rw-r--r-- | pivotTable_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pivotTable_test.go b/pivotTable_test.go index 4379538..767206b 100644 --- a/pivotTable_test.go +++ b/pivotTable_test.go @@ -29,6 +29,7 @@ func TestAddPivotTable(t *testing.T) { DataRange: "Sheet1!$A$1:$E$31", PivotTableRange: "Sheet1!$G$2:$M$34", Rows: []PivotTableField{{Data: "Month"}, {Data: "Year"}}, + Filter: []PivotTableField{{Data: "Region"}}, Columns: []PivotTableField{{Data: "Type"}}, Data: []PivotTableField{{Data: "Sales", Subtotal: "Sum", Name: "Summarize by Sum"}}, })) |