-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Downloaded CSV/JSON for a customized table contains all columns #3992
Comments
Yeah, this is definitely confusing. The chart settings are all client-side display settings, while the CSV download just downloads the raw query. Same issue with pivoting: #2473 |
Do you think this would be solvable if we update the question to write the query such that it only requested from the backend the queries desired to be viewed, and respected the order returned from the backend? That would potentially solve both this exact problem and another related one I'm having where the order of columns isn't being respected in the download. If you guys don't have time to do this, but are ok with the approach that I just suggested, then let me know and I'll give it a stab. |
@tanzoniteblack Yeah I think basically syncing the columns in the display settings with the query would be a good approach, as it would also reduce the amount of data that needs to be fetched. Related to that I started on a PR awhile ago that allowed you add new columns to a query: #3043 |
I really like this enhancement to be added. Thumbs up! |
This seems very much related to #5295 (XLSX) |
Yes, please. The export isn't much good to our users if it is different than the settings on the screen. |
If you use Grouped By option instead of selecting the fields from the check list, it serves some purpose. |
As of v0.30.0 if you hide columns in the visualization settings the visible columns are synced to the query itself, which will be reflected in the download. There are still some differences in what's displayed vs download (e.x. pivoting) but I think they're covered by other issues, so I'm going to close this. |
(Note that existing questions aren't updated automatically, you will have to modify the visible columns, close the visualization settings for them to be updated) |
Repeatable steps to reproduce the issue:
I'm attaching 2 screenshots.
The resulting CSV file starts with:
The text was updated successfully, but these errors were encountered: