Update pivot table ranges in summary report for accurate data representation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -945,7 +945,7 @@ func addSummaryPivotSheet(logger *slog.Logger, xlsx *excelize.File, dataSheet st
|
|||||||
Title: "Sum of Avg vCPUs",
|
Title: "Sum of Avg vCPUs",
|
||||||
TitleCell: "A1",
|
TitleCell: "A1",
|
||||||
PivotName: "PivotAvgVcpu",
|
PivotName: "PivotAvgVcpu",
|
||||||
PivotRange: fmt.Sprintf("%s!A3:H22", summarySheet),
|
PivotRange: fmt.Sprintf("%s!A3:H40", summarySheet),
|
||||||
RowFields: []string{"Datacenter", "ResourcePool"},
|
RowFields: []string{"Datacenter", "ResourcePool"},
|
||||||
DataField: "AvgVcpuCount",
|
DataField: "AvgVcpuCount",
|
||||||
DataName: "Sum of Avg vCPUs",
|
DataName: "Sum of Avg vCPUs",
|
||||||
@@ -955,7 +955,7 @@ func addSummaryPivotSheet(logger *slog.Logger, xlsx *excelize.File, dataSheet st
|
|||||||
Title: "Sum of Avg RAM",
|
Title: "Sum of Avg RAM",
|
||||||
TitleCell: "J1",
|
TitleCell: "J1",
|
||||||
PivotName: "PivotAvgRam",
|
PivotName: "PivotAvgRam",
|
||||||
PivotRange: fmt.Sprintf("%s!J3:P22", summarySheet),
|
PivotRange: fmt.Sprintf("%s!J3:P40", summarySheet),
|
||||||
RowFields: []string{"Datacenter"},
|
RowFields: []string{"Datacenter"},
|
||||||
DataField: "AvgRamGB",
|
DataField: "AvgRamGB",
|
||||||
DataName: "Sum of Avg RAM",
|
DataName: "Sum of Avg RAM",
|
||||||
@@ -965,7 +965,7 @@ func addSummaryPivotSheet(logger *slog.Logger, xlsx *excelize.File, dataSheet st
|
|||||||
Title: "Sum of prorated VM count",
|
Title: "Sum of prorated VM count",
|
||||||
TitleCell: "A23",
|
TitleCell: "A23",
|
||||||
PivotName: "PivotProratedVmCount",
|
PivotName: "PivotProratedVmCount",
|
||||||
PivotRange: fmt.Sprintf("%s!A25:H44", summarySheet),
|
PivotRange: fmt.Sprintf("%s!A43:H62", summarySheet),
|
||||||
RowFields: []string{"Datacenter"},
|
RowFields: []string{"Datacenter"},
|
||||||
DataField: "AvgIsPresent",
|
DataField: "AvgIsPresent",
|
||||||
DataName: "Sum of prorated VM count",
|
DataName: "Sum of prorated VM count",
|
||||||
@@ -975,7 +975,7 @@ func addSummaryPivotSheet(logger *slog.Logger, xlsx *excelize.File, dataSheet st
|
|||||||
Title: "Count of VM Name",
|
Title: "Count of VM Name",
|
||||||
TitleCell: "J23",
|
TitleCell: "J23",
|
||||||
PivotName: "PivotVmNameCount",
|
PivotName: "PivotVmNameCount",
|
||||||
PivotRange: fmt.Sprintf("%s!J25:P44", summarySheet),
|
PivotRange: fmt.Sprintf("%s!J43:P62", summarySheet),
|
||||||
RowFields: []string{"Datacenter"},
|
RowFields: []string{"Datacenter"},
|
||||||
DataField: "Name",
|
DataField: "Name",
|
||||||
DataName: "Count of VM Name",
|
DataName: "Count of VM Name",
|
||||||
|
|||||||
Reference in New Issue
Block a user