-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pivot table cannot validly group rows and keep ordering #20564
Comments
superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/utilities.js:694
doesn't reqalculate subtotals so cannot sort them correctly |
…or multiple rows/cols
Have fix it for own usage, but may be it could be incorporated in main repository all known issues with sort fixed |
Just to drop a note here, I'm trying to get an ephemeral environment up to test the PR. Hopefully we can get this merged, but more pivot table expertise would be nice for testing. |
Assuming this is still an issue in current Superset? I'm trying again to spin up a test environment, but hoping @kgabryje can help test/review as well. |
yes it is still an issue |
While we have only one
row ordering
field but can add multiple row dimensions it's assumed that when weset
order by value decending
it will be work same way as withorder by a-z
:But if you choose order by value - it's breaking all groupping - all group rows occures multiple times in pivot!
Hard to explain how to exactly reproduce it.
Just compre two variances of ordering
a-z
andby value
As you can see - it cause valid behavior - group ordering then subgroup ordering
But try to set another option
It breaks table! Group is splitting and Subtotals not counted as expected!!!!
The text was updated successfully, but these errors were encountered: