Skip to content
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

Table chart : New ad-hoc columns retain the name of previous columns #25592

Open
3 tasks
ClaraR-BR opened this issue Oct 10, 2023 · 4 comments · May be fixed by #31792
Open
3 tasks

Table chart : New ad-hoc columns retain the name of previous columns #25592

ClaraR-BR opened this issue Oct 10, 2023 · 4 comments · May be fixed by #31792
Labels
explore Namespace | Anything related to Explore good first issue Good first issues for new contributors

Comments

@ClaraR-BR
Copy link

When we create several calculated dimensions in a table chart aggregated, Superset keep the last name given, and not the default value

How to reproduce the bug

  1. Create table chart 'aggregated'
  2. Create a dimension with custom_sql and Name it
  3. Create another one
  4. By default it keep the name of the previous column, and not the value by default
  5. So the new column is not taken in account in the table, because they have the same name

Expected results

Always have the default value when we create a calculated dimension

Actual results

By default it keep the name of the previous column, and not the value by default

Screenshots

New calculated dimensions :
image

Environment

(please complete the following information):

  • browser type and version: Google Chrome Version 117.0.5938.149
  • superset version: 2.1.0
  • node.js version: node -v
  • any feature flags active: Table Chart

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

@rusackas
Copy link
Member

Just reproduced this in the latest master (4.0) if anyone wants to take a crack at it.

@rusackas rusackas changed the title Table chart : Name in calculated dimensions Table chart : New ad-hoc columns retain the name of previous columns Mar 21, 2024
@rusackas
Copy link
Member

Hopefully the title change helps for clarity ¯\_(ツ)_/¯

@rusackas
Copy link
Member

rusackas commented Dec 9, 2024

popover title issue

Adding a GIF of the issue.

@rusackas rusackas added the explore Namespace | Anything related to Explore label Dec 9, 2024
@rusackas
Copy link
Member

rusackas commented Dec 9, 2024

Still present in 4.1.

@rusackas rusackas added the good first issue Good first issues for new contributors label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
explore Namespace | Anything related to Explore good first issue Good first issues for new contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants