Totals in Pivot table are incorrect
See original GitHub issueExpected results
the sum function must aggregate the sum of the column, the mean function must aggregate the mean of the column, etc
Actual results
sum, max, mean, std, var aggregation functions shows max values in pivot table
Screenshots
http://prntscr.com/118rk0k http://prntscr.com/118rkhu http://prntscr.com/118rkvx
How to reproduce the bug
- Go to ‘chart explore’
- choose vizualization type - Pivot table
- Scroll down to Pivot Options
- choose “show totals” and aggregation function sum, max, mean, std, var
Environment
- superset version:
superset version
1.01 - python version:
python --version
3.8.5 - node.js version:
node -v
v10.19.0
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Calculated field returns incorrect grand total in Excel
This problem occurs when you use a calculated field (a field that is based on other fields) in a PivotTable, and the calculated...
Read more >PLEASE HELP!! Pivot table showing incorrect sums - Mr. Excel
My guess is that your value field setting is not set to SUM the column. Once your pivot table active, select the value...
Read more >Top 3 Excel Pivot Table Issues Resolved - MyExcelOnline
N.B. Sometimes you will need to locate the Pivot Table that has the Grouped values. The SALES field may not be evident that...
Read more >Grand total for pivot table not giving me the correct amount ...
Put here part of your source data - header row and a few rows as a sample. Put here also a screenshot of...
Read more >Pivot Table's 'Show Total' shows a incorrect number in a ...
It all comes down to how the data can be grouped as that is the key. As the quantities and Total $ are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please consider adopting Pivot Table V2, and let us know if you see any similar issue there.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue
.pinned
to prevent stale bot from closing the issue.