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

[Native Filter] Not able to create dashboard native filter with calculated column #17178

Closed
3 tasks done
rosemarie-chiu opened this issue Oct 21, 2021 · 0 comments · Fixed by #17196
Closed
3 tasks done
Assignees
Labels
#bug Bug report preset:QA Preset QA team

Comments

@rosemarie-chiu
Copy link
Contributor

I want to create native filter with calculated column but getting error

How to reproduce the bug

Pre-condition

  1. Create calculated column in a dataset
  2. Create chart using this dataset and add to a dashboard

Steps (see attached video)

  1. Go to dashboard, open native filter side bar
  2. Create a native filter using this calculated field
  3. Check "filter has default value" --> see error
  4. Uncheck filter has default value, click save filter --> see error

Expected results

Calculated column should also work for native filter

Actual results

CleanShot 2021-10-21 at 09 07 43@2x

native_filter_error.mov

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

(please complete the following information):

  • browser type and version: chrome
  • superset version: latest master
  • any feature flags active: default feature flag combo

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report preset:QA Preset QA team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants