justinphamvn opened a new issue #11298:
URL: https://github.com/apache/incubator-superset/issues/11298


   Pivot table not work correctly with **Sum Total**
   I have a Pivot Table with:
   
   Distributor Code / Sum of Quantity / Sum of Amount
   2000006 / 31,637 / 468,966,500
   2000013 / 28,826 / 238,210,000
    
   ### Expected results
   **Sum Total work correctly**
   Total Quantity: **60,463**
   Total Amount: **707,176,500**
   
   ### Actual results
   **Sum Total not work correctly** 
   Total Quantity: **31,637** (_It's only calculate with MAX instead SUM 
function_)
   Total Amount: **468,966,000** ( _Max and Auto Rounding !!!_ )
   
   #### Screenshots
   
   
![Superset_PivotTable_issues](https://user-images.githubusercontent.com/72958231/96210995-5842ff80-0f9d-11eb-9175-4c722abe9b66.png)
   
   ### Environment
   
   - superset version: 0.37.2
   - python version: 3.6


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to