Skip to content

Commit

Permalink
fix: show 0 for emtpy cells with no accumulated value
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Nov 10, 2023
1 parent 90bd18b commit 7297a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/pivotTable/PivotTableEngine.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ export class PivotTableEngine {
column: mappedColumn,
})

if (cumulativeValue) {
if (cumulativeValue !== undefined && cumulativeValue !== null) {
// force to NUMBER for accumulated values
value.valueType =
value.valueType === undefined || value.valueType === null
Expand Down

0 comments on commit 7297a16

Please sign in to comment.